d, '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');