public final class Customer 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 Admin SDK API. 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 |
---|
Customer() |
Modifier and Type | Method and Description |
---|---|
Customer |
clone() |
String |
getAlternateEmail()
The customer's secondary contact email address.
|
DateTime |
getCustomerCreationTime()
The customer's creation time (Readonly)
|
String |
getCustomerDomain()
The customer's primary domain name string.
|
String |
getEtag()
ETag of the resource.
|
String |
getId()
The unique ID for the customer's Google Workspace account.
|
String |
getKind()
Identifies the resource as a customer.
|
String |
getLanguage()
The customer's ISO 639-2 language code.
|
String |
getPhoneNumber()
The customer's contact phone number in [E.164](https://en.wikipedia.org/wiki/E.164) format.
|
CustomerPostalAddress |
getPostalAddress()
The customer's postal address information.
|
Customer |
set(String fieldName,
Object value) |
Customer |
setAlternateEmail(String alternateEmail)
The customer's secondary contact email address.
|
Customer |
setCustomerCreationTime(DateTime customerCreationTime)
The customer's creation time (Readonly)
|
Customer |
setCustomerDomain(String customerDomain)
The customer's primary domain name string.
|
Customer |
setEtag(String etag)
ETag of the resource.
|
Customer |
setId(String id)
The unique ID for the customer's Google Workspace account.
|
Customer |
setKind(String kind)
Identifies the resource as a customer.
|
Customer |
setLanguage(String language)
The customer's ISO 639-2 language code.
|
Customer |
setPhoneNumber(String phoneNumber)
The customer's contact phone number in [E.164](https://en.wikipedia.org/wiki/E.164) format.
|
Customer |
setPostalAddress(CustomerPostalAddress postalAddress)
The customer's postal address information.
|
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 String getAlternateEmail()
null
for nonepublic Customer setAlternateEmail(String alternateEmail)
alternateEmail
- alternateEmail or null
for nonepublic DateTime getCustomerCreationTime()
null
for nonepublic Customer setCustomerCreationTime(DateTime customerCreationTime)
customerCreationTime
- customerCreationTime or null
for nonepublic String getCustomerDomain()
null
for nonepublic Customer setCustomerDomain(String customerDomain)
customerDomain
- customerDomain or null
for nonepublic String getEtag()
null
for nonepublic Customer setEtag(String etag)
etag
- etag or null
for nonepublic String getId()
null
for nonepublic Customer setId(String id)
id
- id or null
for nonepublic String getKind()
null
for nonepublic Customer setKind(String kind)
kind
- kind or null
for nonepublic String getLanguage()
null
for nonepublic Customer setLanguage(String language)
language
- language or null
for nonepublic String getPhoneNumber()
null
for nonepublic Customer setPhoneNumber(String phoneNumber)
phoneNumber
- phoneNumber or null
for nonepublic CustomerPostalAddress getPostalAddress()
null
for nonepublic Customer setPostalAddress(CustomerPostalAddress postalAddress)
postalAddress
- postalAddress or null
for nonepublic Customer set(String fieldName, Object value)
set
in class GenericJson
public Customer clone()
clone
in class GenericJson
Copyright © 2011–2021 Google. All rights reserved.