target.apidocs.com.google.api.services.content.model.AccountUser.html Maven / Gradle / Ivy
AccountUser (Content API for Shopping v2.1-rev20240609-2.0.0)
com.google.api.services.content.model
Class AccountUser
- java.lang.Object
-
- java.util.AbstractMap<String,Object>
-
- com.google.api.client.util.GenericData
-
- com.google.api.client.json.GenericJson
-
- com.google.api.services.content.model.AccountUser
-
public final class AccountUser
extends com.google.api.client.json.GenericJson
Model definition for AccountUser.
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
- Author:
- Google, Inc.
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class com.google.api.client.util.GenericData
com.google.api.client.util.GenericData.Flags
-
Nested classes/interfaces inherited from class java.util.AbstractMap
AbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V>
-
Constructor Summary
Constructors
Constructor and Description
AccountUser()
-
Method Summary
All Methods Instance Methods Concrete Methods
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.
-
Methods inherited from class com.google.api.client.json.GenericJson
getFactory, setFactory, toPrettyString, toString
-
Methods inherited from class com.google.api.client.util.GenericData
entrySet, equals, get, getClassInfo, getUnknownKeys, hashCode, put, putAll, remove, setUnknownKeys
-
Methods inherited from class java.util.AbstractMap
clear, containsKey, containsValue, isEmpty, keySet, size, values
-
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface java.util.Map
compute, computeIfAbsent, computeIfPresent, forEach, getOrDefault, merge, putIfAbsent, remove, replace, replace, replaceAll
-
-
Method Detail
-
getAdmin
public Boolean getAdmin()
Whether user is an admin.
- Returns:
- value or
null
for none
-
setAdmin
public AccountUser setAdmin(Boolean admin)
Whether user is an admin.
- Parameters:
admin
- admin or null
for none
-
getEmailAddress
public String getEmailAddress()
User's email address.
- Returns:
- value or
null
for none
-
setEmailAddress
public AccountUser setEmailAddress(String emailAddress)
User's email address.
- Parameters:
emailAddress
- emailAddress or null
for none
-
getOrderManager
public Boolean getOrderManager()
Whether user is an order manager.
- Returns:
- value or
null
for none
-
setOrderManager
public AccountUser setOrderManager(Boolean orderManager)
Whether user is an order manager.
- Parameters:
orderManager
- orderManager or null
for none
-
getPaymentsAnalyst
public Boolean getPaymentsAnalyst()
Whether user can access payment statements.
- Returns:
- value or
null
for none
-
setPaymentsAnalyst
public AccountUser setPaymentsAnalyst(Boolean paymentsAnalyst)
Whether user can access payment statements.
- Parameters:
paymentsAnalyst
- paymentsAnalyst or null
for none
-
getPaymentsManager
public Boolean getPaymentsManager()
Whether user can manage payment settings.
- Returns:
- value or
null
for none
-
setPaymentsManager
public AccountUser setPaymentsManager(Boolean paymentsManager)
Whether user can manage payment settings.
- Parameters:
paymentsManager
- paymentsManager or null
for none
-
getReportingManager
public Boolean getReportingManager()
Whether user is a reporting manager. This role is equivalent to the Performance and insights
role in Merchant Center.
- Returns:
- value or
null
for none
-
setReportingManager
public AccountUser setReportingManager(Boolean reportingManager)
Whether user is a reporting manager. This role is equivalent to the Performance and insights
role in Merchant Center.
- Parameters:
reportingManager
- reportingManager or null
for none
-
set
public AccountUser set(String fieldName,
Object value)
- Overrides:
set
in class com.google.api.client.json.GenericJson
-
clone
public AccountUser clone()
- Overrides:
clone
in class com.google.api.client.json.GenericJson
Copyright © 2011–2024 Google. All rights reserved.
© 2015 - 2025 Weber Informatics LLC | Privacy Policy