public final class AccountUser
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 |
---|
AccountUser() |
Modifier and Type | Method and Description |
---|---|
AccountUser |
clone() |
Boolean |
getAdmin()
Whether user is an admin.
|
String |
getEmailAddress()
User's email address.
|
Boolean |
getOrderManager()
Whether user is an order manager.
|
Boolean |
getPaymentsAnalyst()
Whether user can access payment statements.
|
Boolean |
getPaymentsManager()
Whether user can manage payment settings.
|
Boolean |
getReportingManager()
Whether user is a reporting manager.
|
AccountUser |
set(String fieldName,
Object value) |
AccountUser |
setAdmin(Boolean admin)
Whether user is an admin.
|
AccountUser |
setEmailAddress(String emailAddress)
User's email address.
|
AccountUser |
setOrderManager(Boolean orderManager)
Whether user is an order manager.
|
AccountUser |
setPaymentsAnalyst(Boolean paymentsAnalyst)
Whether user can access payment statements.
|
AccountUser |
setPaymentsManager(Boolean paymentsManager)
Whether user can manage payment settings.
|
AccountUser |
setReportingManager(Boolean reportingManager)
Whether user is a reporting manager.
|
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 Boolean getAdmin()
null
for nonepublic AccountUser setAdmin(Boolean admin)
admin
- admin or null
for nonepublic String getEmailAddress()
null
for nonepublic AccountUser setEmailAddress(String emailAddress)
emailAddress
- emailAddress or null
for nonepublic Boolean getOrderManager()
null
for nonepublic AccountUser setOrderManager(Boolean orderManager)
orderManager
- orderManager or null
for nonepublic Boolean getPaymentsAnalyst()
null
for nonepublic AccountUser setPaymentsAnalyst(Boolean paymentsAnalyst)
paymentsAnalyst
- paymentsAnalyst or null
for nonepublic Boolean getPaymentsManager()
null
for nonepublic AccountUser setPaymentsManager(Boolean paymentsManager)
paymentsManager
- paymentsManager or null
for nonepublic Boolean getReportingManager()
null
for nonepublic AccountUser setReportingManager(Boolean reportingManager)
reportingManager
- reportingManager or null
for nonepublic AccountUser set(String fieldName, Object value)
set
in class com.google.api.client.json.GenericJson
public AccountUser clone()
clone
in class com.google.api.client.json.GenericJson
Copyright © 2011–2024 Google. All rights reserved.