class Returnaddress extends Resource (View source)

The "returnaddress" collection of methods.

Typical usage is:

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

Methods

custombatch(ReturnaddressCustomBatchRequest $postBody, array $optParams = [])

Batches multiple return address related calls in a single request.

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

Deletes a return address for the given Merchant Center account.

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

Gets a return address of the Merchant Center account. (returnaddress.get)

insert(string $merchantId, ReturnAddress $postBody, array $optParams = [])

Inserts a return address for the Merchant Center account.

listReturnaddress(string $merchantId, array $optParams = [])

Lists the return addresses of the Merchant Center account.

Details

ReturnaddressCustomBatchResponse custombatch(ReturnaddressCustomBatchRequest $postBody, array $optParams = [])

Batches multiple return address related calls in a single request.

(returnaddress.custombatch)

Parameters

ReturnaddressCustomBatchRequest $postBody
array $optParams

Optional parameters.

Return Value

ReturnaddressCustomBatchResponse

Exceptions

Exception

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

Deletes a return address for the given Merchant Center account.

(returnaddress.delete)

Parameters

string $merchantId

The Merchant Center account from which to delete the given return address.

string $returnAddressId

Return address ID generated by Google.

array $optParams

Optional parameters.

Exceptions

Exception

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

Gets a return address of the Merchant Center account. (returnaddress.get)

Parameters

string $merchantId

The Merchant Center account to get a return address for.

string $returnAddressId

Return address ID generated by Google.

array $optParams

Optional parameters.

Return Value

ReturnAddress

Exceptions

Exception

ReturnAddress insert(string $merchantId, ReturnAddress $postBody, array $optParams = [])

Inserts a return address for the Merchant Center account.

(returnaddress.insert)

Parameters

string $merchantId

The Merchant Center account to insert a return address for.

ReturnAddress $postBody
array $optParams

Optional parameters.

Return Value

ReturnAddress

Exceptions

Exception

ReturnaddressListResponse listReturnaddress(string $merchantId, array $optParams = [])

Lists the return addresses of the Merchant Center account.

(returnaddress.listReturnaddress)

Parameters

string $merchantId

The Merchant Center account to list return addresses for.

array $optParams

Optional parameters.

Return Value

ReturnaddressListResponse

Exceptions

Exception