public class ShoppingContent.Accounts extends Object
| Modifier and Type | Class and Description |
|---|---|
class |
ShoppingContent.Accounts.Authinfo |
class |
ShoppingContent.Accounts.Claimwebsite |
class |
ShoppingContent.Accounts.Custombatch |
class |
ShoppingContent.Accounts.Delete |
class |
ShoppingContent.Accounts.Get |
class |
ShoppingContent.Accounts.Insert |
class |
ShoppingContent.Accounts.Link |
class |
ShoppingContent.Accounts.List |
class |
ShoppingContent.Accounts.Update |
| Constructor and Description |
|---|
Accounts() |
| Modifier and Type | Method and Description |
|---|---|
ShoppingContent.Accounts.Authinfo |
authinfo()
Returns information about the authenticated user.
|
ShoppingContent.Accounts.Claimwebsite |
claimwebsite(BigInteger merchantId,
BigInteger accountId)
Claims the website of a Merchant Center sub-account.
|
ShoppingContent.Accounts.Custombatch |
custombatch(AccountsCustomBatchRequest content)
Retrieves, inserts, updates, and deletes multiple Merchant Center (sub-)accounts in a single
request.
|
ShoppingContent.Accounts.Delete |
delete(BigInteger merchantId,
BigInteger accountId)
Deletes a Merchant Center sub-account.
|
ShoppingContent.Accounts.Get |
get(BigInteger merchantId,
BigInteger accountId)
Retrieves a Merchant Center account.
|
ShoppingContent.Accounts.Insert |
insert(BigInteger merchantId,
Account content)
Creates a Merchant Center sub-account.
|
ShoppingContent.Accounts.Link |
link(BigInteger merchantId,
BigInteger accountId,
AccountsLinkRequest content)
Performs an action on a link between a Merchant Center account and another account.
|
ShoppingContent.Accounts.List |
list(BigInteger merchantId)
Lists the sub-accounts in your Merchant Center account.
|
ShoppingContent.Accounts.Update |
update(BigInteger merchantId,
BigInteger accountId,
Account content)
Updates a Merchant Center account.
|
public ShoppingContent.Accounts.Authinfo authinfo() throws IOException
AbstractGoogleClientRequest.execute() method to invoke the remote operation.IOExceptionpublic ShoppingContent.Accounts.Claimwebsite claimwebsite(BigInteger merchantId, BigInteger accountId) throws IOException
AbstractGoogleClientRequest.execute() method to invoke the remote operation.merchantId - The ID of the managing account. If this parameter is not the same as accountId, then this account
must be a multi-client account and accountId must be the ID of a sub-account of this
account.accountId - The ID of the account whose website is claimed.IOExceptionpublic ShoppingContent.Accounts.Custombatch custombatch(AccountsCustomBatchRequest content) throws IOException
AbstractGoogleClientRequest.execute() method to invoke the remote operation.content - the AccountsCustomBatchRequestIOExceptionpublic ShoppingContent.Accounts.Delete delete(BigInteger merchantId, BigInteger accountId) throws IOException
AbstractGoogleClientRequest.execute() method to invoke the remote operation.merchantId - The ID of the managing account. This must be a multi-client account, and accountId must be the ID of
a sub-account of this account.accountId - The ID of the account.IOExceptionpublic ShoppingContent.Accounts.Get get(BigInteger merchantId, BigInteger accountId) throws IOException
AbstractGoogleClientRequest.execute() method to invoke the remote operation.merchantId - The ID of the managing account. If this parameter is not the same as accountId, then this account
must be a multi-client account and accountId must be the ID of a sub-account of this
account.accountId - The ID of the account.IOExceptionpublic ShoppingContent.Accounts.Insert insert(BigInteger merchantId, Account content) throws IOException
AbstractGoogleClientRequest.execute() method to invoke the remote operation.merchantId - The ID of the managing account. This must be a multi-client account.content - the AccountIOExceptionpublic ShoppingContent.Accounts.Link link(BigInteger merchantId, BigInteger accountId, AccountsLinkRequest content) throws IOException
AbstractGoogleClientRequest.execute() method to invoke the remote operation.merchantId - The ID of the managing account. If this parameter is not the same as accountId, then this account
must be a multi-client account and accountId must be the ID of a sub-account of this
account.accountId - The ID of the account that should be linked.content - the AccountsLinkRequestIOExceptionpublic ShoppingContent.Accounts.List list(BigInteger merchantId) throws IOException
AbstractGoogleClientRequest.execute() method to invoke the remote operation.merchantId - The ID of the managing account. This must be a multi-client account.IOExceptionpublic ShoppingContent.Accounts.Update update(BigInteger merchantId, BigInteger accountId, Account content) throws IOException
AbstractGoogleClientRequest.execute() method to invoke the remote operation.merchantId - The ID of the managing account. If this parameter is not the same as accountId, then this account
must be a multi-client account and accountId must be the ID of a sub-account of this
account.accountId - The ID of the account.content - the AccountIOExceptionCopyright © 2011–2019 Google. All rights reserved.