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
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.
|
AccountGoogleMyBusinessLink |
getGoogleMyBusinessLink()
The GMB account which is linked or in the process of being linked with the Merchant Center
account.
|
BigInteger |
getId()
Merchant Center account ID.
|
String |
getKind()
Identifies what kind of resource this is.
|
String |
getName()
Display name for the account.
|
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 |
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)
Merchant Center account ID.
|
Account |
setKind(String kind)
Identifies what kind of resource this is.
|
Account |
setName(String name)
Display name for the account.
|
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, get, getClassInfo, getUnknownKeys, put, putAll, remove, setUnknownKeys
clear, containsKey, containsValue, equals, hashCode, 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 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 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 com.google.api.client.json.GenericJson
public Account clone()
clone
in class com.google.api.client.json.GenericJson
Copyright © 2011–2019 Google. All rights reserved.