public final class CustomerPostalAddress 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.FlagsAbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V>| Constructor and Description |
|---|
CustomerPostalAddress() |
| Modifier and Type | Method and Description |
|---|---|
CustomerPostalAddress |
clone() |
String |
getAddressLine1()
A customer's physical address.
|
String |
getAddressLine2()
Address line 2 of the address.
|
String |
getAddressLine3()
Address line 3 of the address.
|
String |
getContactName()
The customer contact's name.
|
String |
getCountryCode()
This is a required property.
|
String |
getLocality()
Name of the locality.
|
String |
getOrganizationName()
The company or company division name.
|
String |
getPostalCode()
The postal code.
|
String |
getRegion()
Name of the region.
|
CustomerPostalAddress |
set(String fieldName,
Object value) |
CustomerPostalAddress |
setAddressLine1(String addressLine1)
A customer's physical address.
|
CustomerPostalAddress |
setAddressLine2(String addressLine2)
Address line 2 of the address.
|
CustomerPostalAddress |
setAddressLine3(String addressLine3)
Address line 3 of the address.
|
CustomerPostalAddress |
setContactName(String contactName)
The customer contact's name.
|
CustomerPostalAddress |
setCountryCode(String countryCode)
This is a required property.
|
CustomerPostalAddress |
setLocality(String locality)
Name of the locality.
|
CustomerPostalAddress |
setOrganizationName(String organizationName)
The company or company division name.
|
CustomerPostalAddress |
setPostalCode(String postalCode)
The postal code.
|
CustomerPostalAddress |
setRegion(String region)
Name of the region.
|
getFactory, setFactory, toPrettyString, toStringentrySet, equals, get, getClassInfo, getUnknownKeys, hashCode, put, putAll, remove, setUnknownKeysclear, containsKey, containsValue, isEmpty, keySet, size, valuesfinalize, getClass, notify, notifyAll, wait, wait, waitcompute, computeIfAbsent, computeIfPresent, forEach, getOrDefault, merge, putIfAbsent, remove, replace, replace, replaceAllpublic String getAddressLine1()
null for nonepublic CustomerPostalAddress setAddressLine1(String addressLine1)
addressLine1 - addressLine1 or null for nonepublic String getAddressLine2()
null for nonepublic CustomerPostalAddress setAddressLine2(String addressLine2)
addressLine2 - addressLine2 or null for nonepublic String getAddressLine3()
null for nonepublic CustomerPostalAddress setAddressLine3(String addressLine3)
addressLine3 - addressLine3 or null for nonepublic String getContactName()
null for nonepublic CustomerPostalAddress setContactName(String contactName)
contactName - contactName or null for nonepublic String getCountryCode()
null for nonepublic CustomerPostalAddress setCountryCode(String countryCode)
countryCode - countryCode or null for nonepublic String getLocality()
null for nonepublic CustomerPostalAddress setLocality(String locality)
locality - locality or null for nonepublic String getOrganizationName()
null for nonepublic CustomerPostalAddress setOrganizationName(String organizationName)
organizationName - organizationName or null for nonepublic String getPostalCode()
null for nonepublic CustomerPostalAddress setPostalCode(String postalCode)
postalCode - postalCode or null for nonepublic String getRegion()
null for nonepublic CustomerPostalAddress setRegion(String region)
region - region or null for nonepublic CustomerPostalAddress set(String fieldName, Object value)
set in class GenericJsonpublic CustomerPostalAddress clone()
clone in class GenericJsonCopyright © 2011–2021 Google. All rights reserved.