public final class TestOrderAddress
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 Content API for Shopping. For a detailed explanation see: https://developers.google.com/api-client-library/java/google-http-java-client/json
com.google.api.client.util.GenericData.FlagsAbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V>| Constructor and Description |
|---|
TestOrderAddress() |
| Modifier and Type | Method and Description |
|---|---|
TestOrderAddress |
clone() |
String |
getCountry()
CLDR country code (for example, "US").
|
List<String> |
getFullAddress()
Strings representing the lines of the printed label for mailing the order, for example: John
Smith 1600 Amphitheatre Parkway Mountain View, CA, 94043 United States
|
Boolean |
getIsPostOfficeBox()
Whether the address is a post office box.
|
String |
getLocality()
City, town or commune.
|
String |
getPostalCode()
Postal Code or ZIP (for example, "94043").
|
String |
getRecipientName()
Name of the recipient.
|
String |
getRegion()
Top-level administrative subdivision of the country.
|
List<String> |
getStreetAddress()
Street-level part of the address.
|
TestOrderAddress |
set(String fieldName,
Object value) |
TestOrderAddress |
setCountry(String country)
CLDR country code (for example, "US").
|
TestOrderAddress |
setFullAddress(List<String> fullAddress)
Strings representing the lines of the printed label for mailing the order, for example: John
Smith 1600 Amphitheatre Parkway Mountain View, CA, 94043 United States
|
TestOrderAddress |
setIsPostOfficeBox(Boolean isPostOfficeBox)
Whether the address is a post office box.
|
TestOrderAddress |
setLocality(String locality)
City, town or commune.
|
TestOrderAddress |
setPostalCode(String postalCode)
Postal Code or ZIP (for example, "94043").
|
TestOrderAddress |
setRecipientName(String recipientName)
Name of the recipient.
|
TestOrderAddress |
setRegion(String region)
Top-level administrative subdivision of the country.
|
TestOrderAddress |
setStreetAddress(List<String> streetAddress)
Street-level part of the address.
|
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 getCountry()
null for nonepublic TestOrderAddress setCountry(String country)
country - country or null for nonepublic List<String> getFullAddress()
null for nonepublic TestOrderAddress setFullAddress(List<String> fullAddress)
fullAddress - fullAddress or null for nonepublic Boolean getIsPostOfficeBox()
null for nonepublic TestOrderAddress setIsPostOfficeBox(Boolean isPostOfficeBox)
isPostOfficeBox - isPostOfficeBox or null for nonepublic String getLocality()
null for nonepublic TestOrderAddress setLocality(String locality)
locality - locality or null for nonepublic String getPostalCode()
null for nonepublic TestOrderAddress setPostalCode(String postalCode)
postalCode - postalCode or null for nonepublic String getRecipientName()
null for nonepublic TestOrderAddress setRecipientName(String recipientName)
recipientName - recipientName or null for nonepublic String getRegion()
null for nonepublic TestOrderAddress setRegion(String region)
region - region or null for nonepublic List<String> getStreetAddress()
null for nonepublic TestOrderAddress setStreetAddress(List<String> streetAddress)
streetAddress - streetAddress or null for nonepublic TestOrderAddress set(String fieldName, Object value)
set in class com.google.api.client.json.GenericJsonpublic TestOrderAddress clone()
clone in class com.google.api.client.json.GenericJsonCopyright © 2011–2024 Google. All rights reserved.