Class ReturnpolicyonlineResource
The "returnpolicyonline" collection of methods.
Inherited Members
Namespace: Google.Apis.ShoppingContent.v2_1
Assembly: Google.Apis.ShoppingContent.v2_1.dll
Syntax
public class ReturnpolicyonlineResource
Constructors
ReturnpolicyonlineResource(IClientService)
Constructs a new resource.
Declaration
public ReturnpolicyonlineResource(IClientService service)
Parameters
Type | Name | Description |
---|---|---|
IClientService | service |
Methods
Create(ReturnPolicyOnline, long)
Creates a new return policy.
Declaration
public virtual ReturnpolicyonlineResource.CreateRequest Create(ReturnPolicyOnline body, long merchantId)
Parameters
Type | Name | Description |
---|---|---|
ReturnPolicyOnline | body | The body of the request. |
long | merchantId | Required. The id of the merchant for which to retrieve the return policy online object. |
Returns
Type | Description |
---|---|
ReturnpolicyonlineResource.CreateRequest |
Delete(long, string)
Deletes an existing return policy.
Declaration
public virtual ReturnpolicyonlineResource.DeleteRequest Delete(long merchantId, string returnPolicyId)
Parameters
Type | Name | Description |
---|---|---|
long | 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. |
Returns
Type | Description |
---|---|
ReturnpolicyonlineResource.DeleteRequest |
Get(long, string)
Gets an existing return policy.
Declaration
public virtual ReturnpolicyonlineResource.GetRequest Get(long merchantId, string returnPolicyId)
Parameters
Type | Name | Description |
---|---|---|
long | 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. |
Returns
Type | Description |
---|---|
ReturnpolicyonlineResource.GetRequest |
List(long)
Lists all existing return policies.
Declaration
public virtual ReturnpolicyonlineResource.ListRequest List(long merchantId)
Parameters
Type | Name | Description |
---|---|---|
long | merchantId | Required. The id of the merchant for which to retrieve the return policy online object. |
Returns
Type | Description |
---|---|
ReturnpolicyonlineResource.ListRequest |
Patch(ReturnPolicyOnline, long, string)
Updates an existing return policy.
Declaration
public virtual ReturnpolicyonlineResource.PatchRequest Patch(ReturnPolicyOnline body, long merchantId, string returnPolicyId)
Parameters
Type | Name | Description |
---|---|---|
ReturnPolicyOnline | body | The body of the request. |
long | 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. |
Returns
Type | Description |
---|---|
ReturnpolicyonlineResource.PatchRequest |