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.FlagsAbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V>| Constructor and Description |
|---|
Account() |
| Modifier and Type | Method and Description |
|---|---|
Account |
clone() |
Boolean |
getAdultContent()
Indicates whether the merchant sells adult content.
|
List<AccountAdwordsLink> |
getAdwordsLinks()
List of linked AdWords accounts that are active or pending approval.
|
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.
|
BigInteger |
getId()
Required for update.
|
String |
getKind()
Identifies what kind of resource this is.
|
String |
getName()
Required.
|
String |
getReviewsUrl()
[DEPRECATED] This field is never returned and will be ignored if provided.
|
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 |
setAdultContent(Boolean adultContent)
Indicates whether the merchant sells adult content.
|
Account |
setAdwordsLinks(List<AccountAdwordsLink> adwordsLinks)
List of linked AdWords accounts that are active or pending approval.
|
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(BigInteger id)
Required for update.
|
Account |
setKind(String kind)
Identifies what kind of resource this is.
|
Account |
setName(String name)
Required.
|
Account |
setReviewsUrl(String reviewsUrl)
[DEPRECATED] This field is never returned and will be ignored if provided.
|
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, toStringentrySet, equals, get, getClassInfo, getUnknownKeys, hashCode, put, putAll, remove, setUnknownKeysclear, containsKey, containsValue, isEmpty, keySet, size, valuesfinalize, getClass, notify, notifyAll, wait, wait, waitcompute, computeIfAbsent, computeIfPresent, forEach, getOrDefault, merge, putIfAbsent, remove, replace, replace, replaceAllpublic Boolean getAdultContent()
null for nonepublic Account setAdultContent(Boolean adultContent)
adultContent - adultContent or null for nonepublic List<AccountAdwordsLink> getAdwordsLinks()
null for nonepublic Account setAdwordsLinks(List<AccountAdwordsLink> adwordsLinks)
adwordsLinks - adwordsLinks 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 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 String getName()
null for nonepublic Account setName(String name)
name - name or null for nonepublic String getReviewsUrl()
null for nonepublic Account setReviewsUrl(String reviewsUrl)
reviewsUrl - reviewsUrl 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 GenericJsonpublic Account clone()
clone in class GenericJsonCopyright © 2011–2021 Google. All rights reserved.