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 Enterprise Apps Reseller API. For a detailed explanation see: http://code.google.com/p/google-http-java-client/wiki/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 alternate email of the customer.
|
String |
getCustomerDomain()
The domain name of the customer.
|
String |
getCustomerId()
The id of the customer.
|
String |
getKind()
Identifies the resource as a customer.
|
String |
getPhoneNumber()
The phone number of the customer.
|
Address |
getPostalAddress()
The postal address of the customer.
|
String |
getResourceUiUrl()
Ui url for customer resource.
|
Customer |
set(String fieldName,
Object value) |
Customer |
setAlternateEmail(String alternateEmail)
The alternate email of the customer.
|
Customer |
setCustomerDomain(String customerDomain)
The domain name of the customer.
|
Customer |
setCustomerId(String customerId)
The id of the customer.
|
Customer |
setKind(String kind)
Identifies the resource as a customer.
|
Customer |
setPhoneNumber(String phoneNumber)
The phone number of the customer.
|
Customer |
setPostalAddress(Address postalAddress)
The postal address of the customer.
|
Customer |
setResourceUiUrl(String resourceUiUrl)
Ui url for customer resource.
|
getFactory, setFactory, toPrettyString, toString
entrySet, get, getClassInfo, getUnknownKeys, put, putAll, remove, setUnknownKeys
clear, containsKey, containsValue, equals, hashCode, isEmpty, keySet, size, values
public String getAlternateEmail()
null
for nonepublic Customer setAlternateEmail(String alternateEmail)
alternateEmail
- alternateEmail or null
for nonepublic String getCustomerDomain()
null
for nonepublic Customer setCustomerDomain(String customerDomain)
customerDomain
- customerDomain or null
for nonepublic String getCustomerId()
null
for nonepublic Customer setCustomerId(String customerId)
customerId
- customerId or null
for nonepublic String getKind()
null
for nonepublic Customer setKind(String kind)
kind
- kind or null
for nonepublic String getPhoneNumber()
null
for nonepublic Customer setPhoneNumber(String phoneNumber)
phoneNumber
- phoneNumber or null
for nonepublic Address getPostalAddress()
null
for nonepublic Customer setPostalAddress(Address postalAddress)
postalAddress
- postalAddress or null
for nonepublic String getResourceUiUrl()
null
for nonepublic Customer setResourceUiUrl(String resourceUiUrl)
resourceUiUrl
- resourceUiUrl or null
for nonepublic Customer set(String fieldName, Object value)
set
in class GenericJson
public Customer clone()
clone
in class GenericJson