target.apidocs.com.google.api.services.content.model.TestOrderAddress.html Maven / Gradle / Ivy
TestOrderAddress (Content API for Shopping v2.1-rev20240609-2.0.0)
com.google.api.services.content.model
Class TestOrderAddress
- java.lang.Object
-
- java.util.AbstractMap<String,Object>
-
- com.google.api.client.util.GenericData
-
- com.google.api.client.json.GenericJson
-
- com.google.api.services.content.model.TestOrderAddress
-
public final class TestOrderAddress
extends com.google.api.client.json.GenericJson
Model definition for TestOrderAddress.
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
- Author:
- Google, Inc.
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class com.google.api.client.util.GenericData
com.google.api.client.util.GenericData.Flags
-
Nested classes/interfaces inherited from class java.util.AbstractMap
AbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V>
-
Constructor Summary
Constructors
Constructor and Description
TestOrderAddress()
-
Method Summary
All Methods Instance Methods Concrete Methods
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.
-
Methods inherited from class com.google.api.client.json.GenericJson
getFactory, setFactory, toPrettyString, toString
-
Methods inherited from class com.google.api.client.util.GenericData
entrySet, equals, get, getClassInfo, getUnknownKeys, hashCode, put, putAll, remove, setUnknownKeys
-
Methods inherited from class java.util.AbstractMap
clear, containsKey, containsValue, isEmpty, keySet, size, values
-
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface java.util.Map
compute, computeIfAbsent, computeIfPresent, forEach, getOrDefault, merge, putIfAbsent, remove, replace, replace, replaceAll
-
-
Method Detail
-
getCountry
public String getCountry()
CLDR country code (for example, "US").
- Returns:
- value or
null
for none
-
setCountry
public TestOrderAddress setCountry(String country)
CLDR country code (for example, "US").
- Parameters:
country
- country or null
for none
-
getFullAddress
public 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
- Returns:
- value or
null
for none
-
setFullAddress
public 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
- Parameters:
fullAddress
- fullAddress or null
for none
-
getIsPostOfficeBox
public Boolean getIsPostOfficeBox()
Whether the address is a post office box.
- Returns:
- value or
null
for none
-
setIsPostOfficeBox
public TestOrderAddress setIsPostOfficeBox(Boolean isPostOfficeBox)
Whether the address is a post office box.
- Parameters:
isPostOfficeBox
- isPostOfficeBox or null
for none
-
getLocality
public String getLocality()
City, town or commune. May also include dependent localities or sublocalities (for example,
neighborhoods or suburbs).
- Returns:
- value or
null
for none
-
setLocality
public TestOrderAddress setLocality(String locality)
City, town or commune. May also include dependent localities or sublocalities (for example,
neighborhoods or suburbs).
- Parameters:
locality
- locality or null
for none
-
getPostalCode
public String getPostalCode()
Postal Code or ZIP (for example, "94043").
- Returns:
- value or
null
for none
-
setPostalCode
public TestOrderAddress setPostalCode(String postalCode)
Postal Code or ZIP (for example, "94043").
- Parameters:
postalCode
- postalCode or null
for none
-
getRecipientName
public String getRecipientName()
Name of the recipient.
- Returns:
- value or
null
for none
-
setRecipientName
public TestOrderAddress setRecipientName(String recipientName)
Name of the recipient.
- Parameters:
recipientName
- recipientName or null
for none
-
getRegion
public String getRegion()
Top-level administrative subdivision of the country. For example, a state like California
("CA") or a province like Quebec ("QC").
- Returns:
- value or
null
for none
-
setRegion
public TestOrderAddress setRegion(String region)
Top-level administrative subdivision of the country. For example, a state like California
("CA") or a province like Quebec ("QC").
- Parameters:
region
- region or null
for none
-
getStreetAddress
public List<String> getStreetAddress()
Street-level part of the address. Use `\n` to add a second line.
- Returns:
- value or
null
for none
-
setStreetAddress
public TestOrderAddress setStreetAddress(List<String> streetAddress)
Street-level part of the address. Use `\n` to add a second line.
- Parameters:
streetAddress
- streetAddress or null
for none
-
set
public TestOrderAddress set(String fieldName,
Object value)
- Overrides:
set
in class com.google.api.client.json.GenericJson
-
clone
public TestOrderAddress clone()
- Overrides:
clone
in class com.google.api.client.json.GenericJson
Copyright © 2011–2024 Google. All rights reserved.
© 2015 - 2025 Weber Informatics LLC | Privacy Policy