public class ShoppingContent.Accounts.Returncarrier extends Object
| Modifier and Type | Class and Description |
|---|---|
class |
ShoppingContent.Accounts.Returncarrier.Create |
class |
ShoppingContent.Accounts.Returncarrier.Delete |
class |
ShoppingContent.Accounts.Returncarrier.List |
class |
ShoppingContent.Accounts.Returncarrier.Patch |
| Constructor and Description |
|---|
Returncarrier() |
| Modifier and Type | Method and Description |
|---|---|
ShoppingContent.Accounts.Returncarrier.Create |
create(Long accountId,
AccountReturnCarrier content)
Links return carrier to a merchant account.
|
ShoppingContent.Accounts.Returncarrier.Delete |
delete(Long accountId,
Long carrierAccountId)
Delete a return carrier in the merchant account.
|
ShoppingContent.Accounts.Returncarrier.List |
list(Long accountId)
Lists available return carriers in the merchant account.
|
ShoppingContent.Accounts.Returncarrier.Patch |
patch(Long accountId,
Long carrierAccountId,
AccountReturnCarrier content)
Updates a return carrier in the merchant account.
|
public ShoppingContent.Accounts.Returncarrier.Create create(Long accountId, AccountReturnCarrier content) throws IOException
AbstractGoogleClientRequest.execute() method to invoke the remote operation.accountId - Required. The Merchant Center Account Id under which the Return Carrier is to be linked.content - the AccountReturnCarrierIOExceptionpublic ShoppingContent.Accounts.Returncarrier.Delete delete(Long accountId, Long carrierAccountId) throws IOException
AbstractGoogleClientRequest.execute() method to invoke the remote operation.accountId - Required. The Merchant Center Account Id under which the Return Carrier is to be linked.carrierAccountId - Required. The Google-provided unique carrier ID, used to update the resource.IOExceptionpublic ShoppingContent.Accounts.Returncarrier.List list(Long accountId) throws IOException
AbstractGoogleClientRequest.execute() method to invoke the remote operation.accountId - Required. The Merchant Center Account Id under which the Return Carrier is to be linked.IOExceptionpublic ShoppingContent.Accounts.Returncarrier.Patch patch(Long accountId, Long carrierAccountId, AccountReturnCarrier content) throws IOException
AbstractGoogleClientRequest.execute() method to invoke the remote operation.accountId - Required. The Merchant Center Account Id under which the Return Carrier is to be linked.carrierAccountId - Required. The Google-provided unique carrier ID, used to update the resource.content - the AccountReturnCarrierIOExceptionCopyright © 2011–2022 Google. All rights reserved.