public final class Customer
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 Admin Directory API. 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
Constructor and Description |
---|
Customer() |
Modifier and Type | Method and Description |
---|---|
Customer |
clone() |
java.lang.String |
getAlternateEmail()
The customer's secondary contact email address.
|
com.google.api.client.util.DateTime |
getCustomerCreationTime()
The customer's creation time (Readonly)
|
java.lang.String |
getCustomerDomain()
The customer's primary domain name string.
|
java.lang.String |
getEtag()
ETag of the resource.
|
java.lang.String |
getId()
The unique ID for the customer's G Suite account.
|
java.lang.String |
getKind()
Identifies the resource as a customer.
|
java.lang.String |
getLanguage()
The customer's ISO 639-2 language code.
|
java.lang.String |
getPhoneNumber()
The customer's contact phone number in E.164 format.
|
CustomerPostalAddress |
getPostalAddress()
The customer's postal address information.
|
Customer |
set(java.lang.String fieldName,
java.lang.Object value) |
Customer |
setAlternateEmail(java.lang.String alternateEmail)
The customer's secondary contact email address.
|
Customer |
setCustomerCreationTime(com.google.api.client.util.DateTime customerCreationTime)
The customer's creation time (Readonly)
|
Customer |
setCustomerDomain(java.lang.String customerDomain)
The customer's primary domain name string.
|
Customer |
setEtag(java.lang.String etag)
ETag of the resource.
|
Customer |
setId(java.lang.String id)
The unique ID for the customer's G Suite account.
|
Customer |
setKind(java.lang.String kind)
Identifies the resource as a customer.
|
Customer |
setLanguage(java.lang.String language)
The customer's ISO 639-2 language code.
|
Customer |
setPhoneNumber(java.lang.String phoneNumber)
The customer's contact phone number in E.164 format.
|
Customer |
setPostalAddress(CustomerPostalAddress postalAddress)
The customer's postal address information.
|
getFactory, setFactory, toPrettyString, toString
entrySet, get, getClassInfo, getUnknownKeys, put, putAll, remove, setUnknownKeys
clear, containsKey, containsValue, equals, hashCode, isEmpty, keySet, size, values
public java.lang.String getAlternateEmail()
null
for nonepublic Customer setAlternateEmail(java.lang.String alternateEmail)
alternateEmail
- alternateEmail or null
for nonepublic com.google.api.client.util.DateTime getCustomerCreationTime()
null
for nonepublic Customer setCustomerCreationTime(com.google.api.client.util.DateTime customerCreationTime)
customerCreationTime
- customerCreationTime or null
for nonepublic java.lang.String getCustomerDomain()
null
for nonepublic Customer setCustomerDomain(java.lang.String customerDomain)
customerDomain
- customerDomain or null
for nonepublic java.lang.String getEtag()
null
for nonepublic Customer setEtag(java.lang.String etag)
etag
- etag or null
for nonepublic java.lang.String getId()
null
for nonepublic Customer setId(java.lang.String id)
id
- id or null
for nonepublic java.lang.String getKind()
null
for nonepublic Customer setKind(java.lang.String kind)
kind
- kind or null
for nonepublic java.lang.String getLanguage()
null
for nonepublic Customer setLanguage(java.lang.String language)
language
- language or null
for nonepublic java.lang.String getPhoneNumber()
null
for nonepublic Customer setPhoneNumber(java.lang.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(java.lang.String fieldName, java.lang.Object value)
set
in class com.google.api.client.json.GenericJson
public Customer clone()
clone
in class com.google.api.client.json.GenericJson