class Productdeliverytime extends Resource (View source)

The "productdeliverytime" collection of methods.

Typical usage is:

 $contentService = new Google\Service\ShoppingContent(...);
 $productdeliverytime = $contentService->productdeliverytime;

Methods

create(string $merchantId, ProductDeliveryTime $postBody, array $optParams = [])

Creates or updates the delivery time of a product.

delete(string $merchantId, string $productId, array $optParams = [])

Deletes the delivery time of a product. (productdeliverytime.delete)

get(string $merchantId, string $productId, array $optParams = [])

Gets productDeliveryTime by productId. (productdeliverytime.get)

Details

ProductDeliveryTime create(string $merchantId, ProductDeliveryTime $postBody, array $optParams = [])

Creates or updates the delivery time of a product.

(productdeliverytime.create)

Parameters

string $merchantId

The Google merchant ID of the account that contains the product. This account cannot be a multi-client account.

ProductDeliveryTime $postBody
array $optParams

Optional parameters.

Return Value

ProductDeliveryTime

Exceptions

Exception

delete(string $merchantId, string $productId, array $optParams = [])

Deletes the delivery time of a product. (productdeliverytime.delete)

Parameters

string $merchantId

Required. The Google merchant ID of the account that contains the product. This account cannot be a multi-client account.

string $productId

Required. The Content API ID of the product, in the form channel:contentLanguage:targetCountry:offerId.

array $optParams

Optional parameters.

Exceptions

Exception

ProductDeliveryTime get(string $merchantId, string $productId, array $optParams = [])

Gets productDeliveryTime by productId. (productdeliverytime.get)

Parameters

string $merchantId

Required. The Google merchant ID of the account that contains the product. This account cannot be a multi-client account.

string $productId

Required. The Content API ID of the product, in the form channel:contentLanguage:targetCountry:offerId.

array $optParams

Optional parameters.

Return Value

ProductDeliveryTime

Exceptions

Exception