public final class Region
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 |
|---|
Region() |
| Modifier and Type | Method and Description |
|---|---|
Region |
clone() |
String |
getDisplayName()
The display name of the region.
|
RegionGeoTargetArea |
getGeotargetArea()
A list of geotargets that defines the region area.
|
Long |
getMerchantId()
Output only.
|
RegionPostalCodeArea |
getPostalCodeArea()
A list of postal codes that defines the region area.
|
Boolean |
getRegionalInventoryEligible()
Output only.
|
String |
getRegionId()
Output only.
|
Boolean |
getShippingEligible()
Output only.
|
Region |
set(String fieldName,
Object value) |
Region |
setDisplayName(String displayName)
The display name of the region.
|
Region |
setGeotargetArea(RegionGeoTargetArea geotargetArea)
A list of geotargets that defines the region area.
|
Region |
setMerchantId(Long merchantId)
Output only.
|
Region |
setPostalCodeArea(RegionPostalCodeArea postalCodeArea)
A list of postal codes that defines the region area.
|
Region |
setRegionalInventoryEligible(Boolean regionalInventoryEligible)
Output only.
|
Region |
setRegionId(String regionId)
Output only.
|
Region |
setShippingEligible(Boolean shippingEligible)
Output only.
|
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 getDisplayName()
null for nonepublic Region setDisplayName(String displayName)
displayName - displayName or null for nonepublic RegionGeoTargetArea getGeotargetArea()
null for nonepublic Region setGeotargetArea(RegionGeoTargetArea geotargetArea)
geotargetArea - geotargetArea or null for nonepublic Long getMerchantId()
null for nonepublic Region setMerchantId(Long merchantId)
merchantId - merchantId or null for nonepublic RegionPostalCodeArea getPostalCodeArea()
null for nonepublic Region setPostalCodeArea(RegionPostalCodeArea postalCodeArea)
postalCodeArea - postalCodeArea or null for nonepublic String getRegionId()
null for nonepublic Region setRegionId(String regionId)
regionId - regionId or null for nonepublic Boolean getRegionalInventoryEligible()
null for nonepublic Region setRegionalInventoryEligible(Boolean regionalInventoryEligible)
regionalInventoryEligible - regionalInventoryEligible or null for nonepublic Boolean getShippingEligible()
null for nonepublic Region setShippingEligible(Boolean shippingEligible)
shippingEligible - shippingEligible or null for nonepublic Region set(String fieldName, Object value)
set in class com.google.api.client.json.GenericJsonpublic Region clone()
clone in class com.google.api.client.json.GenericJsonCopyright © 2011–2024 Google. All rights reserved.