public final class Account
extends com.google.api.client.json.GenericJson
This is the Java data model class that specifies how to parse/serialize into the JSON that is transmitted over HTTP when working with the Content API for Shopping. For a detailed explanation see: https://developers.google.com/api-client-library/java/google-http-java-client/json
com.google.api.client.util.GenericData.Flags| Constructor and Description |
|---|
Account() |
| Modifier and Type | Method and Description |
|---|---|
Account |
clone() |
java.util.List<AccountAdsLink> |
getAdsLinks()
List of linked Ads accounts that are active or pending approval.
|
java.lang.Boolean |
getAdultContent()
Indicates whether the merchant sells adult content.
|
AccountBusinessInformation |
getBusinessInformation()
The business information of the account.
|
AccountGoogleMyBusinessLink |
getGoogleMyBusinessLink()
The GMB account which is linked or in the process of being linked with the Merchant Center
account.
|
java.math.BigInteger |
getId()
Merchant Center account ID.
|
java.lang.String |
getKind()
Identifies what kind of resource this is.
|
java.lang.String |
getName()
Display name for the account.
|
java.lang.String |
getSellerId()
Client-specific, locally-unique, internal ID for the child account.
|
java.util.List<AccountUser> |
getUsers()
Users with access to the account.
|
java.lang.String |
getWebsiteUrl()
The merchant's website.
|
java.util.List<AccountYouTubeChannelLink> |
getYoutubeChannelLinks()
List of linked YouTube channels that are active or pending approval.
|
Account |
set(java.lang.String fieldName,
java.lang.Object value) |
Account |
setAdsLinks(java.util.List<AccountAdsLink> adsLinks)
List of linked Ads accounts that are active or pending approval.
|
Account |
setAdultContent(java.lang.Boolean adultContent)
Indicates whether the merchant sells adult content.
|
Account |
setBusinessInformation(AccountBusinessInformation businessInformation)
The business information of the account.
|
Account |
setGoogleMyBusinessLink(AccountGoogleMyBusinessLink googleMyBusinessLink)
The GMB account which is linked or in the process of being linked with the Merchant Center
account.
|
Account |
setId(java.math.BigInteger id)
Merchant Center account ID.
|
Account |
setKind(java.lang.String kind)
Identifies what kind of resource this is.
|
Account |
setName(java.lang.String name)
Display name for the account.
|
Account |
setSellerId(java.lang.String sellerId)
Client-specific, locally-unique, internal ID for the child account.
|
Account |
setUsers(java.util.List<AccountUser> users)
Users with access to the account.
|
Account |
setWebsiteUrl(java.lang.String websiteUrl)
The merchant's website.
|
Account |
setYoutubeChannelLinks(java.util.List<AccountYouTubeChannelLink> youtubeChannelLinks)
List of linked YouTube channels that are active or pending approval.
|
getFactory, setFactory, toPrettyString, toStringentrySet, get, getClassInfo, getUnknownKeys, put, putAll, remove, setUnknownKeysclear, containsKey, containsValue, equals, hashCode, isEmpty, keySet, size, valuespublic java.util.List<AccountAdsLink> getAdsLinks()
null for nonepublic Account setAdsLinks(java.util.List<AccountAdsLink> adsLinks)
adsLinks - adsLinks or null for nonepublic java.lang.Boolean getAdultContent()
null for nonepublic Account setAdultContent(java.lang.Boolean adultContent)
adultContent - adultContent or null for nonepublic AccountBusinessInformation getBusinessInformation()
null for nonepublic Account setBusinessInformation(AccountBusinessInformation businessInformation)
businessInformation - businessInformation or null for nonepublic AccountGoogleMyBusinessLink getGoogleMyBusinessLink()
null for nonepublic Account setGoogleMyBusinessLink(AccountGoogleMyBusinessLink googleMyBusinessLink)
googleMyBusinessLink - googleMyBusinessLink or null for nonepublic java.math.BigInteger getId()
null for nonepublic Account setId(java.math.BigInteger id)
id - id or null for nonepublic java.lang.String getKind()
null for nonepublic Account setKind(java.lang.String kind)
kind - kind or null for nonepublic java.lang.String getName()
null for nonepublic Account setName(java.lang.String name)
name - name or null for nonepublic java.lang.String getSellerId()
null for nonepublic Account setSellerId(java.lang.String sellerId)
sellerId - sellerId or null for nonepublic java.util.List<AccountUser> getUsers()
null for nonepublic Account setUsers(java.util.List<AccountUser> users)
users - users or null for nonepublic java.lang.String getWebsiteUrl()
null for nonepublic Account setWebsiteUrl(java.lang.String websiteUrl)
websiteUrl - websiteUrl or null for nonepublic java.util.List<AccountYouTubeChannelLink> getYoutubeChannelLinks()
null for nonepublic Account setYoutubeChannelLinks(java.util.List<AccountYouTubeChannelLink> youtubeChannelLinks)
youtubeChannelLinks - youtubeChannelLinks or null for nonepublic Account set(java.lang.String fieldName, java.lang.Object value)
set in class com.google.api.client.json.GenericJsonpublic Account clone()
clone in class com.google.api.client.json.GenericJson