class AccountsReturncarrier extends Resource (View source)

The "returncarrier" collection of methods.

Typical usage is:

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

Methods

create(string $accountId, AccountReturnCarrier $postBody, array $optParams = [])

Links return carrier to a merchant account. (returncarrier.create)

delete(string $accountId, string $carrierAccountId, array $optParams = [])

Delete a return carrier in the merchant account. (returncarrier.delete)

listAccountsReturncarrier(string $accountId, array $optParams = [])

Lists available return carriers in the merchant account.

patch(string $accountId, string $carrierAccountId, AccountReturnCarrier $postBody, array $optParams = [])

Updates a return carrier in the merchant account. (returncarrier.patch)

Details

AccountReturnCarrier create(string $accountId, AccountReturnCarrier $postBody, array $optParams = [])

Links return carrier to a merchant account. (returncarrier.create)

Parameters

string $accountId

Required. The Merchant Center Account Id under which the Return Carrier is to be linked.

AccountReturnCarrier $postBody
array $optParams

Optional parameters.

Return Value

AccountReturnCarrier

Exceptions

Exception

delete(string $accountId, string $carrierAccountId, array $optParams = [])

Delete a return carrier in the merchant account. (returncarrier.delete)

Parameters

string $accountId

Required. The Merchant Center Account Id under which the Return Carrier is to be linked.

string $carrierAccountId

Required. The Google-provided unique carrier ID, used to update the resource.

array $optParams

Optional parameters.

Exceptions

Exception

ListAccountReturnCarrierResponse listAccountsReturncarrier(string $accountId, array $optParams = [])

Lists available return carriers in the merchant account.

(returncarrier.listAccountsReturncarrier)

Parameters

string $accountId

Required. The Merchant Center Account Id under which the Return Carrier is to be linked.

array $optParams

Optional parameters.

Return Value

ListAccountReturnCarrierResponse

Exceptions

Exception

AccountReturnCarrier patch(string $accountId, string $carrierAccountId, AccountReturnCarrier $postBody, array $optParams = [])

Updates a return carrier in the merchant account. (returncarrier.patch)

Parameters

string $accountId

Required. The Merchant Center Account Id under which the Return Carrier is to be linked.

string $carrierAccountId

Required. The Google-provided unique carrier ID, used to update the resource.

AccountReturnCarrier $postBody
array $optParams

Optional parameters.

Return Value

AccountReturnCarrier

Exceptions

Exception