class Returnpolicyonline extends Resource (View source)

The "returnpolicyonline" collection of methods.

Typical usage is:

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

Methods

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

Creates a new return policy. (returnpolicyonline.create)

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

Deletes an existing return policy. (returnpolicyonline.delete)

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

Gets an existing return policy. (returnpolicyonline.get)

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

Lists all existing return policies.

patch(string $merchantId, string $returnPolicyId, ReturnPolicyOnline $postBody, array $optParams = [])

Updates an existing return policy. (returnpolicyonline.patch)

Details

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

Creates a new return policy. (returnpolicyonline.create)

Parameters

string $merchantId

Required. The id of the merchant for which to retrieve the return policy online object.

ReturnPolicyOnline $postBody
array $optParams

Optional parameters.

Return Value

ReturnPolicyOnline

Exceptions

Exception

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

Deletes an existing return policy. (returnpolicyonline.delete)

Parameters

string $merchantId

Required. The id of the merchant for which to retrieve the return policy online object.

string $returnPolicyId

Required. The id of the return policy to delete.

array $optParams

Optional parameters.

Exceptions

Exception

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

Gets an existing return policy. (returnpolicyonline.get)

Parameters

string $merchantId

Required. The id of the merchant for which to retrieve the return policy online object.

string $returnPolicyId

Required. The id of the return policy to retrieve.

array $optParams

Optional parameters.

Return Value

ReturnPolicyOnline

Exceptions

Exception

ListReturnPolicyOnlineResponse listReturnpolicyonline(string $merchantId, array $optParams = [])

Lists all existing return policies.

(returnpolicyonline.listReturnpolicyonline)

Parameters

string $merchantId

Required. The id of the merchant for which to retrieve the return policy online object.

array $optParams

Optional parameters.

Return Value

ListReturnPolicyOnlineResponse

Exceptions

Exception

ReturnPolicyOnline patch(string $merchantId, string $returnPolicyId, ReturnPolicyOnline $postBody, array $optParams = [])

Updates an existing return policy. (returnpolicyonline.patch)

Parameters

string $merchantId

Required. The id of the merchant for which to retrieve the return policy online object.

string $returnPolicyId

Required. The id of the return policy to update.

ReturnPolicyOnline $postBody
array $optParams

Optional parameters.

Return Value

ReturnPolicyOnline

Exceptions

Exception