Class ReturnpolicyResource
The "returnpolicy" collection of methods.
Inherited Members
Namespace: Google.Apis.ShoppingContent.v2_1
Assembly: Google.Apis.ShoppingContent.v2_1.dll
Syntax
public class ReturnpolicyResource
Constructors
ReturnpolicyResource(IClientService)
Constructs a new resource.
Declaration
public ReturnpolicyResource(IClientService service)
Parameters
| Type | Name | Description |
|---|---|---|
| IClientService | service |
Methods
Custombatch(ReturnpolicyCustomBatchRequest)
Batches multiple return policy related calls in a single request.
Declaration
public virtual ReturnpolicyResource.CustombatchRequest Custombatch(ReturnpolicyCustomBatchRequest body)
Parameters
| Type | Name | Description |
|---|---|---|
| ReturnpolicyCustomBatchRequest | body | The body of the request. |
Returns
| Type | Description |
|---|---|
| ReturnpolicyResource.CustombatchRequest |
Delete(ulong, string)
Deletes a return policy for the given Merchant Center account.
Declaration
public virtual ReturnpolicyResource.DeleteRequest Delete(ulong merchantId, string returnPolicyId)
Parameters
| Type | Name | Description |
|---|---|---|
| ulong | merchantId | The Merchant Center account from which to delete the given return policy. |
| string | returnPolicyId | Return policy ID generated by Google. |
Returns
| Type | Description |
|---|---|
| ReturnpolicyResource.DeleteRequest |
Get(ulong, string)
Gets a return policy of the Merchant Center account.
Declaration
public virtual ReturnpolicyResource.GetRequest Get(ulong merchantId, string returnPolicyId)
Parameters
| Type | Name | Description |
|---|---|---|
| ulong | merchantId | The Merchant Center account to get a return policy for. |
| string | returnPolicyId | Return policy ID generated by Google. |
Returns
| Type | Description |
|---|---|
| ReturnpolicyResource.GetRequest |
Insert(ReturnPolicy, ulong)
Inserts a return policy for the Merchant Center account.
Declaration
public virtual ReturnpolicyResource.InsertRequest Insert(ReturnPolicy body, ulong merchantId)
Parameters
| Type | Name | Description |
|---|---|---|
| ReturnPolicy | body | The body of the request. |
| ulong | merchantId | The Merchant Center account to insert a return policy for. |
Returns
| Type | Description |
|---|---|
| ReturnpolicyResource.InsertRequest |
List(ulong)
Lists the return policies of the Merchant Center account.
Declaration
public virtual ReturnpolicyResource.ListRequest List(ulong merchantId)
Parameters
| Type | Name | Description |
|---|---|---|
| ulong | merchantId | The Merchant Center account to list return policies for. |
Returns
| Type | Description |
|---|---|
| ReturnpolicyResource.ListRequest |