public final class Account extends 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
GenericData.Flags
AbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V>
Constructor and Description |
---|
Account() |
Modifier and Type | Method and Description |
---|---|
Account |
clone() |
List<AccountAdsLink> |
getAdsLinks()
List of linked Ads accounts that are active or pending approval.
|
Boolean |
getAdultContent()
Indicates whether the merchant sells adult content.
|
AccountBusinessInformation |
getBusinessInformation()
The business information of the account.
|
BigInteger |
getCssId()
ID of CSS the account belongs to.
|
AccountGoogleMyBusinessLink |
getGoogleMyBusinessLink()
The GMB account which is linked or in the process of being linked with the Merchant Center
account.
|
BigInteger |
getId()
Required for update.
|
String |
getKind()
Identifies what kind of resource this is.
|
List<BigInteger> |
getLabelIds()
List of label IDs that are assigned to the account by CSS.
|
String |
getName()
Required.
|
String |
getSellerId()
Client-specific, locally-unique, internal ID for the child account.
|
List<AccountUser> |
getUsers()
Users with access to the account.
|
String |
getWebsiteUrl()
The merchant's website.
|
List<AccountYouTubeChannelLink> |
getYoutubeChannelLinks()
List of linked YouTube channels that are active or pending approval.
|
Account |
set(String fieldName,
Object value) |
Account |
setAdsLinks(List<AccountAdsLink> adsLinks)
List of linked Ads accounts that are active or pending approval.
|
Account |
setAdultContent(Boolean adultContent)
Indicates whether the merchant sells adult content.
|
Account |
setBusinessInformation(AccountBusinessInformation businessInformation)
The business information of the account.
|
Account |
setCssId(BigInteger cssId)
ID of CSS the account belongs to.
|
Account |
setGoogleMyBusinessLink(AccountGoogleMyBusinessLink googleMyBusinessLink)
The GMB account which is linked or in the process of being linked with the Merchant Center
account.
|
Account |
setId(BigInteger id)
Required for update.
|
Account |
setKind(String kind)
Identifies what kind of resource this is.
|
Account |
setLabelIds(List<BigInteger> labelIds)
List of label IDs that are assigned to the account by CSS.
|
Account |
setName(String name)
Required.
|
Account |
setSellerId(String sellerId)
Client-specific, locally-unique, internal ID for the child account.
|
Account |
setUsers(List<AccountUser> users)
Users with access to the account.
|
Account |
setWebsiteUrl(String websiteUrl)
The merchant's website.
|
Account |
setYoutubeChannelLinks(List<AccountYouTubeChannelLink> youtubeChannelLinks)
List of linked YouTube channels that are active or pending approval.
|
getFactory, setFactory, toPrettyString, toString
entrySet, equals, get, getClassInfo, getUnknownKeys, hashCode, put, putAll, remove, setUnknownKeys
clear, containsKey, containsValue, isEmpty, keySet, size, values
finalize, getClass, notify, notifyAll, wait, wait, wait
compute, computeIfAbsent, computeIfPresent, forEach, getOrDefault, merge, putIfAbsent, remove, replace, replace, replaceAll
public List<AccountAdsLink> getAdsLinks()
null
for nonepublic Account setAdsLinks(List<AccountAdsLink> adsLinks)
adsLinks
- adsLinks or null
for nonepublic Boolean getAdultContent()
null
for nonepublic Account setAdultContent(Boolean adultContent)
adultContent
- adultContent or null
for nonepublic AccountBusinessInformation getBusinessInformation()
null
for nonepublic Account setBusinessInformation(AccountBusinessInformation businessInformation)
businessInformation
- businessInformation or null
for nonepublic BigInteger getCssId()
null
for nonepublic Account setCssId(BigInteger cssId)
cssId
- cssId or null
for nonepublic AccountGoogleMyBusinessLink getGoogleMyBusinessLink()
null
for nonepublic Account setGoogleMyBusinessLink(AccountGoogleMyBusinessLink googleMyBusinessLink)
googleMyBusinessLink
- googleMyBusinessLink or null
for nonepublic BigInteger getId()
null
for nonepublic Account setId(BigInteger id)
id
- id or null
for nonepublic String getKind()
null
for nonepublic Account setKind(String kind)
kind
- kind or null
for nonepublic List<BigInteger> getLabelIds()
null
for nonepublic Account setLabelIds(List<BigInteger> labelIds)
labelIds
- labelIds or null
for nonepublic String getName()
null
for nonepublic Account setName(String name)
name
- name or null
for nonepublic String getSellerId()
null
for nonepublic Account setSellerId(String sellerId)
sellerId
- sellerId or null
for nonepublic List<AccountUser> getUsers()
null
for nonepublic Account setUsers(List<AccountUser> users)
users
- users or null
for nonepublic String getWebsiteUrl()
null
for nonepublic Account setWebsiteUrl(String websiteUrl)
websiteUrl
- websiteUrl or null
for nonepublic List<AccountYouTubeChannelLink> getYoutubeChannelLinks()
null
for nonepublic Account setYoutubeChannelLinks(List<AccountYouTubeChannelLink> youtubeChannelLinks)
youtubeChannelLinks
- youtubeChannelLinks or null
for nonepublic Account set(String fieldName, Object value)
set
in class GenericJson
public Account clone()
clone
in class GenericJson
Copyright © 2011–2020 Google. All rights reserved.