public class ShoppingContent.Accounts extends Object
Modifier and Type | Class and Description |
---|---|
class |
ShoppingContent.Accounts.Authinfo |
class |
ShoppingContent.Accounts.Claimwebsite |
class |
ShoppingContent.Accounts.Credentials
The "credentials" collection of methods.
|
class |
ShoppingContent.Accounts.Custombatch |
class |
ShoppingContent.Accounts.Delete |
class |
ShoppingContent.Accounts.Get |
class |
ShoppingContent.Accounts.Insert |
class |
ShoppingContent.Accounts.Labels
The "labels" collection of methods.
|
class |
ShoppingContent.Accounts.Link |
class |
ShoppingContent.Accounts.List |
class |
ShoppingContent.Accounts.Listlinks |
class |
ShoppingContent.Accounts.Requestphoneverification |
class |
ShoppingContent.Accounts.Returncarrier
The "returncarrier" collection of methods.
|
class |
ShoppingContent.Accounts.Update |
class |
ShoppingContent.Accounts.Updatelabels |
class |
ShoppingContent.Accounts.Verifyphonenumber |
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.Credentials |
credentials()
An accessor for creating requests from the Credentials collection.
|
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.Labels |
labels()
An accessor for creating requests from the Labels collection.
|
ShoppingContent.Accounts.Link |
link(BigInteger merchantId,
BigInteger accountId,
AccountsLinkRequest content)
Performs an action on a link between two Merchant Center accounts, namely accountId and
linkedAccountId.
|
ShoppingContent.Accounts.List |
list(BigInteger merchantId)
Lists the sub-accounts in your Merchant Center account.
|
ShoppingContent.Accounts.Listlinks |
listlinks(BigInteger merchantId,
BigInteger accountId)
Returns the list of accounts linked to your Merchant Center account.
|
ShoppingContent.Accounts.Requestphoneverification |
requestphoneverification(Long merchantId,
Long accountId,
RequestPhoneVerificationRequest content)
Request verification code to start phone verification.
|
ShoppingContent.Accounts.Returncarrier |
returncarrier()
An accessor for creating requests from the Returncarrier collection.
|
ShoppingContent.Accounts.Update |
update(BigInteger merchantId,
BigInteger accountId,
Account content)
Updates a Merchant Center account.
|
ShoppingContent.Accounts.Updatelabels |
updatelabels(BigInteger merchantId,
BigInteger accountId,
AccountsUpdateLabelsRequest content)
Updates labels that are assigned to the Merchant Center account by CSS user.
|
ShoppingContent.Accounts.Verifyphonenumber |
verifyphonenumber(Long merchantId,
Long accountId,
VerifyPhoneNumberRequest content)
Validates verification code to verify phone number for the account.
|
public ShoppingContent.Accounts.Authinfo authinfo() throws IOException
AbstractGoogleClientRequest.execute()
method to invoke the remote operation.IOException
public 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.IOException
public ShoppingContent.Accounts.Custombatch custombatch(AccountsCustomBatchRequest content) throws IOException
AbstractGoogleClientRequest.execute()
method to invoke the remote operation.content
- the AccountsCustomBatchRequest
IOException
public 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.IOException
public 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.IOException
public 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 Account
IOException
public 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 AccountsLinkRequest
IOException
public 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.IOException
public ShoppingContent.Accounts.Listlinks listlinks(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 for which to list links.IOException
public ShoppingContent.Accounts.Requestphoneverification requestphoneverification(Long merchantId, Long accountId, RequestPhoneVerificationRequest content) throws IOException
AbstractGoogleClientRequest.execute()
method to invoke the remote
operation.merchantId
- Required. 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
- Required. The ID of the account.content
- the RequestPhoneVerificationRequest
IOException
public 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 Account
IOException
public ShoppingContent.Accounts.Updatelabels updatelabels(BigInteger merchantId, BigInteger accountId, AccountsUpdateLabelsRequest content) throws IOException
AbstractGoogleClientRequest.execute()
method to invoke the remote operation.merchantId
- The ID of the managing account.accountId
- The ID of the account whose labels are updated.content
- the AccountsUpdateLabelsRequest
IOException
public ShoppingContent.Accounts.Verifyphonenumber verifyphonenumber(Long merchantId, Long accountId, VerifyPhoneNumberRequest content) throws IOException
AbstractGoogleClientRequest.execute()
method to invoke the remote operation.merchantId
- Required. 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
- Required. The ID of the account.content
- the VerifyPhoneNumberRequest
IOException
public ShoppingContent.Accounts.Credentials credentials()
The typical use is:
ShoppingContent content = new ShoppingContent(...);
ShoppingContent.Credentials.List request = content.credentials().list(parameters ...)
public ShoppingContent.Accounts.Labels labels()
The typical use is:
ShoppingContent content = new ShoppingContent(...);
ShoppingContent.Labels.List request = content.labels().list(parameters ...)
public ShoppingContent.Accounts.Returncarrier returncarrier()
The typical use is:
ShoppingContent content = new ShoppingContent(...);
ShoppingContent.Returncarrier.List request = content.returncarrier().list(parameters ...)
Copyright © 2011–2024 Google. All rights reserved.