Vendor\Google\Service\ShoppingContent\OrdersSetLineItemMetadataRequest; use Automattic\WooCommerce\GoogleListingsAndAds\Vendor\Google\Service\ShoppingContent\OrdersSetLineItemMetadataResponse; use Automattic\WooCommerce\GoogleListingsAndAds\Vendor\Google\Service\ShoppingContent\OrdersShipLineItemsRequest; use Automattic\WooCommerce\GoogleListingsAndAds\Vendor\Google\Service\ShoppingContent\OrdersShipLineItemsResponse; use Automattic\WooCommerce\GoogleListingsAndAds\Vendor\Google\Service\ShoppingContent\OrdersUpdateLineItemShippingDetailsRequest; use Automattic\WooCommerce\GoogleListingsAndAds\Vendor\Google\Service\ShoppingContent\OrdersUpdateLineItemShippingDetailsResponse; use Automattic\WooCommerce\GoogleListingsAndAds\Vendor\Google\Service\ShoppingContent\OrdersUpdateMerchantOrderIdRequest; use Automattic\WooCommerce\GoogleListingsAndAds\Vendor\Google\Service\ShoppingContent\OrdersUpdateMerchantOrderIdResponse; use Automattic\WooCommerce\GoogleListingsAndAds\Vendor\Google\Service\ShoppingContent\OrdersUpdateShipmentRequest; use Automattic\WooCommerce\GoogleListingsAndAds\Vendor\Google\Service\ShoppingContent\OrdersUpdateShipmentResponse; /** * The "orders" collection of methods. * Typical usage is: * * $contentService = new Google\Service\ShoppingContent(...); * $orders = $contentService->orders; * */ class Orders extends \Automattic\WooCommerce\GoogleListingsAndAds\Vendor\Google\Service\Resource { /** * Marks an order as acknowledged. (orders.acknowledge) * * @param string $merchantId The ID of the account that manages the order. This * cannot be a multi-client account. * @param string $orderId The ID of the order. * @param OrdersAcknowledgeRequest $postBody * @param array $optParams Optional parameters. * @return OrdersAcknowledgeResponse * @throws \Google\Service\Exception */ public function acknowledge($merchantId, $orderId, OrdersAcknowledgeRequest $postBody, $optParams = []) { $params = ['merchantId' => $merchantId, 'orderId' => $orderId, 'postBody' => $postBody]; $params = array_merge($params, $optParams); return $this->call('acknowledge', [$params], OrdersAcknowledgeResponse::class); } /** * Sandbox only. Moves a test order from state "`inProgress`" to state * "`pendingShipment`". (orders.advancetestorder) * * @param string $merchantId The ID of the account that manages the order. This * cannot be a multi-client account. * @param string $orderId The ID of the test order to modify. * @param array $optParams Optional parameters. * @return OrdersAdvanceTestOrderResponse * @throws \Google\Service\Exception */ public function advancetestorder($merchantId, $orderId, $optParams = []) { $params = ['merchantId' => $merchantId, 'orderId' => $orderId]; $params = array_merge($params, $optParams); return $this->call('advancetestorder', [$params], OrdersAdvanceTestOrderResponse::class); } /** * Cancels all line items in an order, making a full refund. (orders.cancel) * * @param string $merchantId The ID of the account that manages the order. This * cannot be a multi-client account. * @param string $orderId The ID of the order to cancel. * @param OrdersCancelRequest $postBody * @param array $optParams Optional parameters. * @return OrdersCancelResponse * @throws \Google\Service\Exception */ public function cancel($merchantId, $orderId, OrdersCancelRequest $postBody, $optParams = []) { $params = ['merchantId' => $merchantId, 'orderId' => $orderId, 'postBody' => $postBody]; $params = array_merge($params, $optParams); return $this->call('cancel', [$params], OrdersCancelResponse::class); } /** * Cancels a line item, making a full refund. (orders.cancellineitem) * * @param string $merchantId The ID of the account that manages the order. This * cannot be a multi-client account. * @param string $orderId The ID of the order. * @param OrdersCancelLineItemRequest $postBody * @param array $optParams Optional parameters. * @return OrdersCancelLineItemResponse * @throws \Google\Service\Exception */ public function cancellineitem($merchantId, $orderId, OrdersCancelLineItemRequest $postBody, $optParams = []) { $params = ['merchantId' => $merchantId, 'orderId' => $orderId, 'postBody' => $postBody]; $params = array_merge($params, $optParams); return $this->call('cancellineitem', [$params], OrdersCancelLineItemResponse::class); } /** * Sandbox only. Cancels a test order for customer-initiated cancellation. * (orders.canceltestorderbycustomer) * * @param string $merchantId The ID of the account that manages the order. This * cannot be a multi-client account. * @param string $orderId The ID of the test order to cancel. * @param OrdersCancelTestOrderByCustomerRequest $postBody * @param array $optParams Optional parameters. * @return OrdersCancelTestOrderByCustomerResponse * @throws \Google\Service\Exception */ public function canceltestorderbycustomer($merchantId, $orderId, OrdersCancelTestOrderByCustomerRequest $postBody, $optParams = []) { $params = ['merchantId' => $merchantId, 'orderId' => $orderId, 'postBody' => $postBody]; $params = array_merge($params, $optParams); return $this->call('canceltestorderbycustomer', [$params], OrdersCancelTestOrderByCustomerResponse::class); } /** * Capture funds from the customer for the current order total. This method * should be called after the merchant verifies that they are able and ready to * start shipping the order. This method blocks until a response is received * from the payment processsor. If this method succeeds, the merchant is * guaranteed to receive funds for the order after shipment. If the request * fails, it can be retried or the order may be cancelled. This method cannot be * called after the entire order is already shipped. A rejected error code is * returned when the payment service provider has declined the charge. This * indicates a problem between the PSP and either the merchant's or customer's * account. Sometimes this error will be resolved by the customer. We recommend * retrying these errors once per day or cancelling the order with reason * `failedToCaptureFunds` if the items cannot be held. (orders.captureOrder) * * @param string $merchantId Required. The ID of the account that manages the * order. This cannot be a multi-client account. * @param string $orderId Required. The ID of the Order. * @param CaptureOrderRequest $postBody * @param array $optParams Optional parameters. * @return CaptureOrderResponse * @throws \Google\Service\Exception */ public function captureOrder($merchantId, $orderId, CaptureOrderRequest $postBody, $optParams = []) { $params = ['merchantId' => $merchantId, 'orderId' => $orderId, 'postBody' => $postBody]; $params = array_merge($params, $optParams); return $this->call('captureOrder', [$params], CaptureOrderResponse::class); } /** * Sandbox only. Creates a test order. (orders.createtestorder) * * @param string $merchantId The ID of the account that should manage the order. * This cannot be a multi-client account. * @param OrdersCreateTestOrderRequest $postBody * @param array $optParams Optional parameters. * @return OrdersCreateTestOrderResponse * @throws \Google\Service\Exception */ public function createtestorder($merchantId, OrdersCreateTestOrderRequest $postBody, $optParams = []) { $params = ['merchantId' => $merchantId, 'postBody' => $postBody]; $params = array_merge($params, $optParams); return $this->call('createtestorder', [$params], OrdersCreateTestOrderResponse::class); } /** * Sandbox only. Creates a test return. (orders.createtestreturn) * * @param string $merchantId The ID of the account that manages the order. This * cannot be a multi-client account. * @param string $orderId The ID of the order. * @param OrdersCreateTestReturnRequest $postBody * @param array $optParams Optional parameters. * @return OrdersCreateTestReturnResponse * @throws \Google\Service\Exception */ public function createtestreturn($merchantId, $orderId, OrdersCreateTestReturnRequest $postBody, $optParams = []) { $params = ['merchantId' => $merchantId, 'orderId' => $orderId, 'postBody' => $postBody]; $params = array_merge($params, $optParams); return $this->call('createtestreturn', [$params], OrdersCreateTestReturnResponse::class); } /** * Retrieves an order from your Merchant Center account. (orders.get) * * @param string $merchantId The ID of the account that manages the order. This * cannot be a multi-client account. * @param string $orderId The ID of the order. * @param array $optParams Optional parameters. * @return Order * @throws \Google\Service\Exception */ public function get($merchantId, $orderId, $optParams = []) { $params = ['merchantId' => $merchantId, 'orderId' => $orderId]; $params = array_merge($params, $optParams); return $this->call('get', [$params], Order::class); } /** * Retrieves an order using merchant order ID. (orders.getbymerchantorderid) * * @param string $merchantId The ID of the account that manages the order. This * cannot be a multi-client account. * @param string $merchantOrderId The merchant order ID to be looked for. * @param array $optParams Optional parameters. * @return OrdersGetByMerchantOrderIdResponse * @throws \Google\Service\Exception */ public function getbymerchantorderid($merchantId, $merchantOrderId, $optParams = []) { $params = ['merchantId' => $merchantId, 'merchantOrderId' => $merchantOrderId]; $params = array_merge($params, $optParams); return $this->call('getbymerchantorderid', [$params], OrdersGetByMerchantOrderIdResponse::class); } /** * Sandbox only. Retrieves an order template that can be used to quickly create * a new order in sandbox. (orders.gettestordertemplate) * * @param string $merchantId The ID of the account that should manage the order. * This cannot be a multi-client account. * @param string $templateName The name of the template to retrieve. * @param array $optParams Optional parameters. * * @opt_param string country The country of the template to retrieve. Defaults * to "`US`". * @return OrdersGetTestOrderTemplateResponse * @throws \Google\Service\Exception */ public function gettestordertemplate($merchantId, $templateName, $optParams = []) { $params = ['merchantId' => $merchantId, 'templateName' => $templateName]; $params = array_merge($params, $optParams); return $this->call('gettestordertemplate', [$params], OrdersGetTestOrderTemplateResponse::class); } /** * Deprecated. Notifies that item return and refund was handled directly by * merchant outside of Google payments processing (for example, cash refund done * in store). Note: We recommend calling the returnrefundlineitem method to * refund in-store returns. We will issue the refund directly to the customer. * This helps to prevent possible differences arising between merchant and * Google transaction records. We also recommend having the point of sale system * communicate with Google to ensure that customers do not receive a double * refund by first refunding through Google then through an in-store return. * (orders.instorerefundlineitem) * * @param string $merchantId The ID of the account that manages the order. This * cannot be a multi-client account. * @param string $orderId The ID of the order. * @param OrdersInStoreRefundLineItemRequest $postBody * @param array $optParams Optional parameters. * @return OrdersInStoreRefundLineItemResponse * @throws \Google\Service\Exception */ public function instorerefundlineitem($merchantId, $orderId, OrdersInStoreRefundLineItemRequest $postBody, $optParams = []) { $params = ['merchantId' => $merchantId, 'orderId' => $orderId, 'postBody' => $postBody]; $params = array_merge($params, $optParams); return $this->call('instorerefundlineitem', [$params], OrdersInStoreRefundLineItemResponse::class); } /** * Lists the orders in your Merchant Center account. (orders.listOrders) * * @param string $merchantId The ID of the account that manages the order. This * cannot be a multi-client account. * @param array $optParams Optional parameters. * * @opt_param bool acknowledged Obtains orders that match the acknowledgement * status. When set to true, obtains orders that have been acknowledged. When * false, obtains orders that have not been acknowledged. We recommend using * this filter set to `false`, in conjunction with the `acknowledge` call, such * that only un-acknowledged orders are returned. * @opt_param string maxResults The maximum number of orders to return in the * response, used for paging. The default value is 25 orders per page, and the * maximum allowed value is 250 orders per page. * @opt_param string orderBy Order results by placement date in descending or * ascending order. Acceptable values are: - placedDateAsc - placedDateDesc * @opt_param string pageToken The token returned by the previous request. * @opt_param string placedDateEnd Obtains orders placed before this date * (exclusively), in ISO 8601 format. * @opt_param string placedDateStart Obtains orders placed after this date * (inclusively), in ISO 8601 format. * @opt_param string statuses Obtains orders that match any of the specified * statuses. Note that `active` is a shortcut for `pendingShipment` and * `partiallyShipped`, and `completed` is a shortcut for `shipped`, * `partiallyDelivered`, `delivered`, `partiallyReturned`, `returned`, and * `canceled`. * @return OrdersListResponse * @throws \Google\Service\Exception */ public function listOrders($merchantId, $optParams = []) { $params = ['merchantId' => $merchantId]; $params = array_merge($params, $optParams); return $this->call('list', [$params], OrdersListResponse::class); } /** * Issues a partial or total refund for items and shipment. (orders.refunditem) * * @param string $merchantId The ID of the account that manages the order. This * cannot be a multi-client account. * @param string $orderId The ID of the order to refund. * @param OrdersRefundItemRequest $postBody * @param array $optParams Optional parameters. * @return OrdersRefundItemResponse * @throws \Google\Service\Exception */ public function refunditem($merchantId, $orderId, OrdersRefundItemRequest $postBody, $optParams = []) { $params = ['merchantId' => $merchantId, 'orderId' => $orderId, 'postBody' => $postBody]; $params = array_merge($params, $optParams); return $this->call('refunditem', [$params], OrdersRefundItemResponse::class); } /** * Issues a partial or total refund for an order. (orders.refundorder) * * @param string $merchantId The ID of the account that manages the order. This * cannot be a multi-client account. * @param string $orderId The ID of the order to refund. * @param OrdersRefundOrderRequest $postBody * @param array $optParams Optional parameters. * @return OrdersRefundOrderResponse * @throws \Google\Service\Exception */ public function refundorder($merchantId, $orderId, OrdersRefundOrderRequest $postBody, $optParams = []) { $params = ['merchantId' => $merchantId, 'orderId' => $orderId, 'postBody' => $postBody]; $params = array_merge($params, $optParams); return $this->call('refundorder', [$params], OrdersRefundOrderResponse::class); } /** * Rejects return on an line item. (orders.rejectreturnlineitem) * * @param string $merchantId The ID of the account that manages the order. This * cannot be a multi-client account. * @param string $orderId The ID of the order. * @param OrdersRejectReturnLineItemRequest $postBody * @param array $optParams Optional parameters. * @return OrdersRejectReturnLineItemResponse * @throws \Google\Service\Exception */ public function rejectreturnlineitem($merchantId, $orderId, OrdersRejectReturnLineItemRequest $postBody, $optParams = []) { $params = ['merchantId' => $merchantId, 'orderId' => $orderId, 'postBody' => $postBody]; $params = array_merge($params, $optParams); return $this->call('rejectreturnlineitem', [$params], OrdersRejectReturnLineItemResponse::class); } /** * Returns and refunds a line item. Note that this method can only be called on * fully shipped orders. The Orderreturns API is the preferred way to handle * returns after you receive a return from a customer. You can use * Orderreturns.list or Orderreturns.get to search for the return, and then use * Orderreturns.processreturn to issue the refund. If the return cannot be * found, then we recommend using this API to issue a refund. * (orders.returnrefundlineitem) * * @param string $merchantId The ID of the account that manages the order. This * cannot be a multi-client account. * @param string $orderId The ID of the order. * @param OrdersReturnRefundLineItemRequest $postBody * @param array $optParams Optional parameters. * @return OrdersReturnRefundLineItemResponse * @throws \Google\Service\Exception */ public function returnrefundlineitem($merchantId, $orderId, OrdersReturnRefundLineItemRequest $postBody, $optParams = []) { $params = ['merchantId' => $merchantId, 'orderId' => $orderId, 'postBody' => $postBody]; $params = array_merge($params, $optParams); return $this->call('returnrefundlineitem', [$params], OrdersReturnRefundLineItemResponse::class); } /** * Sets (or overrides if it already exists) merchant provided annotations in the * form of key-value pairs. A common use case would be to supply us with * additional structured information about a line item that cannot be provided * through other methods. Submitted key-value pairs can be retrieved as part of * the orders resource. (orders.setlineitemmetadata) * * @param string $merchantId The ID of the account that manages the order. This * cannot be a multi-client account. * @param string $orderId The ID of the order. * @param OrdersSetLineItemMetadataRequest $postBody * @param array $optParams Optional parameters. * @return OrdersSetLineItemMetadataResponse * @throws \Google\Service\Exception */ public function setlineitemmetadata($merchantId, $orderId, OrdersSetLineItemMetadataRequest $postBody, $optParams = []) { $params = ['merchantId' => $merchantId, 'orderId' => $orderId, 'postBody' => $postBody]; $params = array_merge($params, $optParams); return $this->call('setlineitemmetadata', [$params], OrdersSetLineItemMetadataResponse::class); } /** * Marks line item(s) as shipped. (orders.shiplineitems) * * @param string $merchantId The ID of the account that manages the order. This * cannot be a multi-client account. * @param string $orderId The ID of the order. * @param OrdersShipLineItemsRequest $postBody * @param array $optParams Optional parameters. * @return OrdersShipLineItemsResponse * @throws \Google\Service\Exception */ public function shiplineitems($merchantId, $orderId, OrdersShipLineItemsRequest $postBody, $optParams = []) { $params = ['merchantId' => $merchantId, 'orderId' => $orderId, 'postBody' => $postBody]; $params = array_merge($params, $optParams); return $this->call('shiplineitems', [$params], OrdersShipLineItemsResponse::class); } /** * Updates ship by and delivery by dates for a line item. * (orders.updatelineitemshippingdetails) * * @param string $merchantId The ID of the account that manages the order. This * cannot be a multi-client account. * @param string $orderId The ID of the order. * @param OrdersUpdateLineItemShippingDetailsRequest $postBody * @param array $optParams Optional parameters. * @return OrdersUpdateLineItemShippingDetailsResponse * @throws \Google\Service\Exception */ public function updatelineitemshippingdetails($merchantId, $orderId, OrdersUpdateLineItemShippingDetailsRequest $postBody, $optParams = []) { $params = ['merchantId' => $merchantId, 'orderId' => $orderId, 'postBody' => $postBody]; $params = array_merge($params, $optParams); return $this->call('updatelineitemshippingdetails', [$params], OrdersUpdateLineItemShippingDetailsResponse::class); } /** * Updates the merchant order ID for a given order. * (orders.updatemerchantorderid) * * @param string $merchantId The ID of the account that manages the order. This * cannot be a multi-client account. * @param string $orderId The ID of the order. * @param OrdersUpdateMerchantOrderIdRequest $postBody * @param array $optParams Optional parameters. * @return OrdersUpdateMerchantOrderIdResponse * @throws \Google\Service\Exception */ public function updatemerchantorderid($merchantId, $orderId, OrdersUpdateMerchantOrderIdRequest $postBody, $optParams = []) { $params = ['merchantId' => $merchantId, 'orderId' => $orderId, 'postBody' => $postBody]; $params = array_merge($params, $optParams); return $this->call('updatemerchantorderid', [$params], OrdersUpdateMerchantOrderIdResponse::class); } /** * Updates a shipment's status, carrier, and/or tracking ID. * (orders.updateshipment) * * @param string $merchantId The ID of the account that manages the order. This * cannot be a multi-client account. * @param string $orderId The ID of the order. * @param OrdersUpdateShipmentRequest $postBody * @param array $optParams Optional parameters. * @return OrdersUpdateShipmentResponse * @throws \Google\Service\Exception */ public function updateshipment($merchantId, $orderId, OrdersUpdateShipmentRequest $postBody, $optParams = []) { $params = ['merchantId' => $merchantId, 'orderId' => $orderId, 'postBody' => $postBody]; $params = array_merge($params, $optParams); return $this->call('updateshipment', [$params], OrdersUpdateShipmentResponse::class); } } // Adding a class alias for backwards compatibility with the previous class name. class_alias(Orders::class, 'Google_Service_ShoppingContent_Resource_Orders');
Fatal error: Uncaught Error: Class "Automattic\WooCommerce\GoogleListingsAndAds\Vendor\Google\Service\ShoppingContent\Resource\Orders" not found in /htdocs/wp-content/plugins/google-listings-and-ads/vendor/google/apiclient-services/src/ShoppingContent.php:1758 Stack trace: #0 [internal function]: Automattic\WooCommerce\GoogleListingsAndAds\Vendor\Google\Service\ShoppingContent->__construct(Object(Automattic\WooCommerce\GoogleListingsAndAds\Vendor\Google\Client), 'https://api.woo...') #1 /htdocs/wp-content/plugins/google-listings-and-ads/vendor/league/container/src/Definition/Definition.php(256): ReflectionClass->newInstanceArgs(Array) #2 /htdocs/wp-content/plugins/google-listings-and-ads/vendor/league/container/src/Definition/Definition.php(212): Automattic\WooCommerce\GoogleListingsAndAds\Vendor\League\Container\Definition\Definition->resolveClass('Automattic\\WooC...') #3 /htdocs/wp-content/plugins/google-listings-and-ads/vendor/league/container/src/Definition/DefinitionAggregate.php(94): Automattic\WooCommerce\GoogleListingsAndAds\Vendor\League\Container\Definition\Definition->resolve(false) #4 /htdocs/wp-content/plugins/google-listings-and-ads/vendor/league/container/src/Container.php(157): Automattic\WooCommerce\GoogleListingsAndAds\Vendor\League\Container\Definition\DefinitionAggregate->resolve('Automattic\\WooC...', false) #5 /htdocs/wp-content/plugins/google-listings-and-ads/vendor/league/container/src/Argument/ArgumentResolverTrait.php(45): Automattic\WooCommerce\GoogleListingsAndAds\Vendor\League\Container\Container->get('Automattic\\WooC...') #6 [internal function]: Automattic\WooCommerce\GoogleListingsAndAds\Vendor\League\Container\Definition\Definition->Automattic\WooCommerce\GoogleListingsAndAds\Vendor\League\Container\Argument\{closure}('Automattic\\WooC...') #7 /htdocs/wp-content/plugins/google-listings-and-ads/vendor/league/container/src/Argument/ArgumentResolverTrait.php(19): array_map(Object(Closure), Array) #8 /htdocs/wp-content/plugins/google-listings-and-ads/vendor/league/container/src/Definition/Definition.php(253): Automattic\WooCommerce\GoogleListingsAndAds\Vendor\League\Container\Definition\Definition->resolveArguments(Array) #9 /htdocs/wp-content/plugins/google-listings-and-ads/vendor/league/container/src/Definition/Definition.php(212): Automattic\WooCommerce\GoogleListingsAndAds\Vendor\League\Container\Definition\Definition->resolveClass('Automattic\\WooC...') #10 /htdocs/wp-content/plugins/google-listings-and-ads/vendor/league/container/src/Definition/DefinitionAggregate.php(94): Automattic\WooCommerce\GoogleListingsAndAds\Vendor\League\Container\Definition\Definition->resolve(false) #11 /htdocs/wp-content/plugins/google-listings-and-ads/vendor/league/container/src/Container.php(157): Automattic\WooCommerce\GoogleListingsAndAds\Vendor\League\Container\Definition\DefinitionAggregate->resolve('Automattic\\WooC...', false) #12 /htdocs/wp-content/plugins/google-listings-and-ads/vendor/league/container/src/Argument/ArgumentResolverTrait.php(45): Automattic\WooCommerce\GoogleListingsAndAds\Vendor\League\Container\Container->get('Automattic\\WooC...') #13 [internal function]: Automattic\WooCommerce\GoogleListingsAndAds\Vendor\League\Container\Definition\Definition->Automattic\WooCommerce\GoogleListingsAndAds\Vendor\League\Container\Argument\{closure}('Automattic\\WooC...') #14 /htdocs/wp-content/plugins/google-listings-and-ads/vendor/league/container/src/Argument/ArgumentResolverTrait.php(19): array_map(Object(Closure), Array) #15 /htdocs/wp-content/plugins/google-listings-and-ads/vendor/league/container/src/Definition/Definition.php(253): Automattic\WooCommerce\GoogleListingsAndAds\Vendor\League\Container\Definition\Definition->resolveArguments(Array) #16 /htdocs/wp-content/plugins/google-listings-and-ads/vendor/league/container/src/Definition/Definition.php(212): Automattic\WooCommerce\GoogleListingsAndAds\Vendor\League\Container\Definition\Definition->resolveClass('Automattic\\WooC...') #17 /htdocs/wp-content/plugins/google-listings-and-ads/vendor/league/container/src/Definition/DefinitionAggregate.php(94): Automattic\WooCommerce\GoogleListingsAndAds\Vendor\League\Container\Definition\Definition->resolve(false) #18 /htdocs/wp-content/plugins/google-listings-and-ads/vendor/league/container/src/Container.php(157): Automattic\WooCommerce\GoogleListingsAndAds\Vendor\League\Container\Definition\DefinitionAggregate->resolve('Automattic\\WooC...', false) #19 /htdocs/wp-content/plugins/google-listings-and-ads/vendor/league/container/src/Argument/ArgumentResolverTrait.php(45): Automattic\WooCommerce\GoogleListingsAndAds\Vendor\League\Container\Container->get('Automattic\\WooC...') #20 [internal function]: Automattic\WooCommerce\GoogleListingsAndAds\Vendor\League\Container\Definition\Definition->Automattic\WooCommerce\GoogleListingsAndAds\Vendor\League\Container\Argument\{closure}('Automattic\\WooC...') #21 /htdocs/wp-content/plugins/google-listings-and-ads/vendor/league/container/src/Argument/ArgumentResolverTrait.php(19): array_map(Object(Closure), Array) #22 /htdocs/wp-content/plugins/google-listings-and-ads/vendor/league/container/src/Definition/Definition.php(253): Automattic\WooCommerce\GoogleListingsAndAds\Vendor\League\Container\Definition\Definition->resolveArguments(Array) #23 /htdocs/wp-content/plugins/google-listings-and-ads/vendor/league/container/src/Definition/Definition.php(212): Automattic\WooCommerce\GoogleListingsAndAds\Vendor\League\Container\Definition\Definition->resolveClass('Automattic\\WooC...') #24 /htdocs/wp-content/plugins/google-listings-and-ads/vendor/league/container/src/Definition/DefinitionAggregate.php(106): Automattic\WooCommerce\GoogleListingsAndAds\Vendor\League\Container\Definition\Definition->resolve(false) #25 /htdocs/wp-content/plugins/google-listings-and-ads/vendor/league/container/src/Container.php(162): Automattic\WooCommerce\GoogleListingsAndAds\Vendor\League\Container\Definition\DefinitionAggregate->resolveTagged('Automattic\\WooC...', false) #26 /htdocs/wp-content/plugins/google-listings-and-ads/vendor/league/container/src/Argument/ArgumentResolverTrait.php(45): Automattic\WooCommerce\GoogleListingsAndAds\Vendor\League\Container\Container->get('Automattic\\WooC...') #27 [internal function]: Automattic\WooCommerce\GoogleListingsAndAds\Vendor\League\Container\Definition\Definition->Automattic\WooCommerce\GoogleListingsAndAds\Vendor\League\Container\Argument\{closure}('Automattic\\WooC...') #28 /htdocs/wp-content/plugins/google-listings-and-ads/vendor/league/container/src/Argument/ArgumentResolverTrait.php(19): array_map(Object(Closure), Array) #29 /htdocs/wp-content/plugins/google-listings-and-ads/vendor/league/container/src/Definition/Definition.php(253): Automattic\WooCommerce\GoogleListingsAndAds\Vendor\League\Container\Definition\Definition->resolveArguments(Array) #30 /htdocs/wp-content/plugins/google-listings-and-ads/vendor/league/container/src/Definition/Definition.php(212): Automattic\WooCommerce\GoogleListingsAndAds\Vendor\League\Container\Definition\Definition->resolveClass('Automattic\\WooC...') #31 /htdocs/wp-content/plugins/google-listings-and-ads/vendor/league/container/src/Definition/DefinitionAggregate.php(94): Automattic\WooCommerce\GoogleListingsAndAds\Vendor\League\Container\Definition\Definition->resolve(false) #32 /htdocs/wp-content/plugins/google-listings-and-ads/vendor/league/container/src/Container.php(157): Automattic\WooCommerce\GoogleListingsAndAds\Vendor\League\Container\Definition\DefinitionAggregate->resolve('Automattic\\WooC...', false) #33 /htdocs/wp-content/plugins/google-listings-and-ads/vendor/league/container/src/Argument/ArgumentResolverTrait.php(45): Automattic\WooCommerce\GoogleListingsAndAds\Vendor\League\Container\Container->get('Automattic\\WooC...') #34 [internal function]: Automattic\WooCommerce\GoogleListingsAndAds\Vendor\League\Container\Definition\Definition->Automattic\WooCommerce\GoogleListingsAndAds\Vendor\League\Container\Argument\{closure}('Automattic\\WooC...') #35 /htdocs/wp-content/plugins/google-listings-and-ads/vendor/league/container/src/Argument/ArgumentResolverTrait.php(19): array_map(Object(Closure), Array) #36 /htdocs/wp-content/plugins/google-listings-and-ads/vendor/league/container/src/Definition/Definition.php(253): Automattic\WooCommerce\GoogleListingsAndAds\Vendor\League\Container\Definition\Definition->resolveArguments(Array) #37 /htdocs/wp-content/plugins/google-listings-and-ads/vendor/league/container/src/Definition/Definition.php(212): Automattic\WooCommerce\GoogleListingsAndAds\Vendor\League\Container\Definition\Definition->resolveClass('Automattic\\WooC...') #38 /htdocs/wp-content/plugins/google-listings-and-ads/vendor/league/container/src/Definition/DefinitionAggregate.php(106): Automattic\WooCommerce\GoogleListingsAndAds\Vendor\League\Container\Definition\Definition->resolve(false) #39 /htdocs/wp-content/plugins/google-listings-and-ads/vendor/league/container/src/Container.php(162): Automattic\WooCommerce\GoogleListingsAndAds\Vendor\League\Container\Definition\DefinitionAggregate->resolveTagged('Automattic\\WooC...', false) #40 /htdocs/wp-content/plugins/google-listings-and-ads/vendor/league/container/src/Argument/ArgumentResolverTrait.php(45): Automattic\WooCommerce\GoogleListingsAndAds\Vendor\League\Container\Container->get('Automattic\\WooC...') #41 [internal function]: Automattic\WooCommerce\GoogleListingsAndAds\Vendor\League\Container\Definition\Definition->Automattic\WooCommerce\GoogleListingsAndAds\Vendor\League\Container\Argument\{closure}('Automattic\\WooC...') #42 /htdocs/wp-content/plugins/google-listings-and-ads/vendor/league/container/src/Argument/ArgumentResolverTrait.php(19): array_map(Object(Closure), Array) #43 /htdocs/wp-content/plugins/google-listings-and-ads/vendor/league/container/src/Definition/Definition.php(237): Automattic\WooCommerce\GoogleListingsAndAds\Vendor\League\Container\Definition\Definition->resolveArguments(Array) #44 /htdocs/wp-content/plugins/google-listings-and-ads/vendor/league/container/src/Definition/Definition.php(198): Automattic\WooCommerce\GoogleListingsAndAds\Vendor\League\Container\Definition\Definition->resolveCallable(Object(Closure)) #45 /htdocs/wp-content/plugins/google-listings-and-ads/vendor/league/container/src/Definition/DefinitionAggregate.php(106): Automattic\WooCommerce\GoogleListingsAndAds\Vendor\League\Container\Definition\Definition->resolve(false) #46 /htdocs/wp-content/plugins/google-listings-and-ads/vendor/league/container/src/Container.php(162): Automattic\WooCommerce\GoogleListingsAndAds\Vendor\League\Container\Definition\DefinitionAggregate->resolveTagged('Automattic\\WooC...', false) #47 /htdocs/wp-content/plugins/google-listings-and-ads/vendor/league/container/src/Container.php(178): Automattic\WooCommerce\GoogleListingsAndAds\Vendor\League\Container\Container->get('Automattic\\WooC...', false) #48 /htdocs/wp-content/plugins/google-listings-and-ads/src/Container.php(90): Automattic\WooCommerce\GoogleListingsAndAds\Vendor\League\Container\Container->get('Automattic\\WooC...') #49 /htdocs/wp-content/plugins/google-listings-and-ads/src/Infrastructure/GoogleListingsAndAdsPlugin.php(130): Automattic\WooCommerce\GoogleListingsAndAds\Container->get('Automattic\\WooC...') #50 /htdocs/wp-content/plugins/google-listings-and-ads/src/Infrastructure/GoogleListingsAndAdsPlugin.php(91): Automattic\WooCommerce\GoogleListingsAndAds\Infrastructure\GoogleListingsAndAdsPlugin->maybe_register_services() #51 /htdocs/wp-includes/class-wp-hook.php(324): Automattic\WooCommerce\GoogleListingsAndAds\Infrastructure\GoogleListingsAndAdsPlugin->Automattic\WooCommerce\GoogleListingsAndAds\Infrastructure\{closure}('') #52 /htdocs/wp-includes/class-wp-hook.php(348): WP_Hook->apply_filters(NULL, Array) #53 /htdocs/wp-includes/plugin.php(517): WP_Hook->do_action(Array) #54 /htdocs/wp-settings.php(559): do_action('plugins_loaded') #55 /htdocs/wp-config.php(85): require_once('/htdocs/wp-sett...') #56 /htdocs/wp-load.php(50): require_once('/htdocs/wp-conf...') #57 /htdocs/wp-blog-header.php(13): require_once('/htdocs/wp-load...') #58 /htdocs/index.php(17): require('/htdocs/wp-blog...') #59 {main} thrown in /htdocs/wp-content/plugins/google-listings-and-ads/vendor/google/apiclient-services/src/ShoppingContent.php on line 1758