public final class CustomerPostalAddress
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 |
---|
CustomerPostalAddress() |
Modifier and Type | Method and Description |
---|---|
CustomerPostalAddress |
clone() |
java.lang.String |
getAddressLine1()
A customer's physical address.
|
java.lang.String |
getAddressLine2()
Address line 2 of the address.
|
java.lang.String |
getAddressLine3()
Address line 3 of the address.
|
java.lang.String |
getContactName()
The customer contact's name.
|
java.lang.String |
getCountryCode()
This is a required property.
|
java.lang.String |
getLocality()
Name of the locality.
|
java.lang.String |
getOrganizationName()
The company or company division name.
|
java.lang.String |
getPostalCode()
The postal code.
|
java.lang.String |
getRegion()
Name of the region.
|
CustomerPostalAddress |
set(java.lang.String fieldName,
java.lang.Object value) |
CustomerPostalAddress |
setAddressLine1(java.lang.String addressLine1)
A customer's physical address.
|
CustomerPostalAddress |
setAddressLine2(java.lang.String addressLine2)
Address line 2 of the address.
|
CustomerPostalAddress |
setAddressLine3(java.lang.String addressLine3)
Address line 3 of the address.
|
CustomerPostalAddress |
setContactName(java.lang.String contactName)
The customer contact's name.
|
CustomerPostalAddress |
setCountryCode(java.lang.String countryCode)
This is a required property.
|
CustomerPostalAddress |
setLocality(java.lang.String locality)
Name of the locality.
|
CustomerPostalAddress |
setOrganizationName(java.lang.String organizationName)
The company or company division name.
|
CustomerPostalAddress |
setPostalCode(java.lang.String postalCode)
The postal code.
|
CustomerPostalAddress |
setRegion(java.lang.String region)
Name of the region.
|
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 getAddressLine1()
null
for nonepublic CustomerPostalAddress setAddressLine1(java.lang.String addressLine1)
addressLine1
- addressLine1 or null
for nonepublic java.lang.String getAddressLine2()
null
for nonepublic CustomerPostalAddress setAddressLine2(java.lang.String addressLine2)
addressLine2
- addressLine2 or null
for nonepublic java.lang.String getAddressLine3()
null
for nonepublic CustomerPostalAddress setAddressLine3(java.lang.String addressLine3)
addressLine3
- addressLine3 or null
for nonepublic java.lang.String getContactName()
null
for nonepublic CustomerPostalAddress setContactName(java.lang.String contactName)
contactName
- contactName or null
for nonepublic java.lang.String getCountryCode()
null
for nonepublic CustomerPostalAddress setCountryCode(java.lang.String countryCode)
countryCode
- countryCode or null
for nonepublic java.lang.String getLocality()
null
for nonepublic CustomerPostalAddress setLocality(java.lang.String locality)
locality
- locality or null
for nonepublic java.lang.String getOrganizationName()
null
for nonepublic CustomerPostalAddress setOrganizationName(java.lang.String organizationName)
organizationName
- organizationName or null
for nonepublic java.lang.String getPostalCode()
null
for nonepublic CustomerPostalAddress setPostalCode(java.lang.String postalCode)
postalCode
- postalCode or null
for nonepublic java.lang.String getRegion()
null
for nonepublic CustomerPostalAddress setRegion(java.lang.String region)
region
- region or null
for nonepublic CustomerPostalAddress set(java.lang.String fieldName, java.lang.Object value)
set
in class com.google.api.client.json.GenericJson
public CustomerPostalAddress clone()
clone
in class com.google.api.client.json.GenericJson