public class ShoppingContent.Returnpolicy extends Object
| Modifier and Type | Class and Description |
|---|---|
class |
ShoppingContent.Returnpolicy.Custombatch |
class |
ShoppingContent.Returnpolicy.Delete |
class |
ShoppingContent.Returnpolicy.Get |
class |
ShoppingContent.Returnpolicy.Insert |
class |
ShoppingContent.Returnpolicy.List |
| Constructor and Description |
|---|
Returnpolicy() |
| Modifier and Type | Method and Description |
|---|---|
ShoppingContent.Returnpolicy.Custombatch |
custombatch(ReturnpolicyCustomBatchRequest content)
Batches multiple return policy related calls in a single request.
|
ShoppingContent.Returnpolicy.Delete |
delete(BigInteger merchantId,
String returnPolicyId)
Deletes a return policy for the given Merchant Center account.
|
ShoppingContent.Returnpolicy.Get |
get(BigInteger merchantId,
String returnPolicyId)
Gets a return policy of the Merchant Center account.
|
ShoppingContent.Returnpolicy.Insert |
insert(BigInteger merchantId,
ReturnPolicy content)
Inserts a return policy for the Merchant Center account.
|
ShoppingContent.Returnpolicy.List |
list(BigInteger merchantId)
Lists the return policies of the Merchant Center account.
|
public ShoppingContent.Returnpolicy.Custombatch custombatch(ReturnpolicyCustomBatchRequest content) throws IOException
AbstractGoogleClientRequest.execute() method to invoke the remote operation.content - the ReturnpolicyCustomBatchRequestIOExceptionpublic ShoppingContent.Returnpolicy.Delete delete(BigInteger merchantId, String returnPolicyId) throws IOException
AbstractGoogleClientRequest.execute() method to invoke the remote operation.merchantId - The Merchant Center account from which to delete the given return policy.returnPolicyId - Return policy ID generated by Google.IOExceptionpublic ShoppingContent.Returnpolicy.Get get(BigInteger merchantId, String returnPolicyId) throws IOException
AbstractGoogleClientRequest.execute() method to invoke the remote operation.merchantId - The Merchant Center account to get a return policy for.returnPolicyId - Return policy ID generated by Google.IOExceptionpublic ShoppingContent.Returnpolicy.Insert insert(BigInteger merchantId, ReturnPolicy content) throws IOException
AbstractGoogleClientRequest.execute() method to invoke the remote operation.merchantId - The Merchant Center account to insert a return policy for.content - the ReturnPolicyIOExceptionpublic ShoppingContent.Returnpolicy.List list(BigInteger merchantId) throws IOException
AbstractGoogleClientRequest.execute() method to invoke the remote operation.merchantId - The Merchant Center account to list return policies for.IOExceptionCopyright © 2011–2022 Google. All rights reserved.