public final class Address 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 Google Workspace Reseller 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 |
|---|
Address() |
| Modifier and Type | Method and Description |
|---|---|
Address |
clone() |
String |
getAddressLine1()
A customer's physical address.
|
String |
getAddressLine2()
Line 2 of the address.
|
String |
getAddressLine3()
Line 3 of the address.
|
String |
getContactName()
The customer contact's name.
|
String |
getCountryCode()
For `countryCode` information, see the ISO 3166 country code elements.
|
String |
getKind()
Identifies the resource as a customer address.
|
String |
getLocality()
An example of a `locality` value is the city of `San Francisco`.
|
String |
getOrganizationName()
The company or company division name.
|
String |
getPostalCode()
A `postalCode` example is a postal zip code such as `94043`.
|
String |
getRegion()
An example of a `region` value is `CA` for the state of California.
|
Address |
set(String fieldName,
Object value) |
Address |
setAddressLine1(String addressLine1)
A customer's physical address.
|
Address |
setAddressLine2(String addressLine2)
Line 2 of the address.
|
Address |
setAddressLine3(String addressLine3)
Line 3 of the address.
|
Address |
setContactName(String contactName)
The customer contact's name.
|
Address |
setCountryCode(String countryCode)
For `countryCode` information, see the ISO 3166 country code elements.
|
Address |
setKind(String kind)
Identifies the resource as a customer address.
|
Address |
setLocality(String locality)
An example of a `locality` value is the city of `San Francisco`.
|
Address |
setOrganizationName(String organizationName)
The company or company division name.
|
Address |
setPostalCode(String postalCode)
A `postalCode` example is a postal zip code such as `94043`.
|
Address |
setRegion(String region)
An example of a `region` value is `CA` for the state of California.
|
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 Address setAddressLine1(String addressLine1)
addressLine1 - addressLine1 or null for nonepublic String getAddressLine2()
null for nonepublic Address setAddressLine2(String addressLine2)
addressLine2 - addressLine2 or null for nonepublic String getAddressLine3()
null for nonepublic Address setAddressLine3(String addressLine3)
addressLine3 - addressLine3 or null for nonepublic String getContactName()
null for nonepublic Address setContactName(String contactName)
contactName - contactName or null for nonepublic String getCountryCode()
null for nonepublic Address setCountryCode(String countryCode)
countryCode - countryCode or null for nonepublic String getKind()
null for nonepublic Address setKind(String kind)
kind - kind or null for nonepublic String getLocality()
null for nonepublic Address setLocality(String locality)
locality - locality or null for nonepublic String getOrganizationName()
null for nonepublic Address setOrganizationName(String organizationName)
organizationName - organizationName or null for nonepublic String getPostalCode()
null for nonepublic Address setPostalCode(String postalCode)
postalCode - postalCode or null for nonepublic String getRegion()
null for nonepublic Address setRegion(String region)
region - region or null for nonepublic Address set(String fieldName, Object value)
set in class GenericJsonpublic Address clone()
clone in class GenericJsonCopyright © 2011–2021 Google. All rights reserved.