public final class ProductShipping
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 |
|---|
ProductShipping() |
| Modifier and Type | Method and Description |
|---|---|
ProductShipping |
clone() |
String |
getCountry()
The CLDR territory code of the country to which an item will ship.
|
String |
getLocationGroupName()
The location where the shipping is applicable, represented by a location group name.
|
Long |
getLocationId()
The numeric ID of a location that the shipping rate applies to as defined in the Google Ads
API.
|
Long |
getMaxHandlingTime()
Maximum handling time (inclusive) between when the order is received and shipped in business
days.
|
Long |
getMaxTransitTime()
Maximum transit time (inclusive) between when the order has shipped and when it's delivered in
business days.
|
Long |
getMinHandlingTime()
Minimum handling time (inclusive) between when the order is received and shipped in business
days.
|
Long |
getMinTransitTime()
Minimum transit time (inclusive) between when the order has shipped and when it's delivered in
business days.
|
String |
getPostalCode()
The postal code range that the shipping rate applies to, represented by a postal code, a postal
code prefix followed by a * wildcard, a range between two postal codes or two postal code
prefixes of equal length.
|
Price |
getPrice()
Fixed shipping price, represented as a number.
|
String |
getRegion()
The geographic region to which a shipping rate applies.
|
String |
getService()
A free-form description of the service class or delivery speed.
|
ProductShipping |
set(String fieldName,
Object value) |
ProductShipping |
setCountry(String country)
The CLDR territory code of the country to which an item will ship.
|
ProductShipping |
setLocationGroupName(String locationGroupName)
The location where the shipping is applicable, represented by a location group name.
|
ProductShipping |
setLocationId(Long locationId)
The numeric ID of a location that the shipping rate applies to as defined in the Google Ads
API.
|
ProductShipping |
setMaxHandlingTime(Long maxHandlingTime)
Maximum handling time (inclusive) between when the order is received and shipped in business
days.
|
ProductShipping |
setMaxTransitTime(Long maxTransitTime)
Maximum transit time (inclusive) between when the order has shipped and when it's delivered in
business days.
|
ProductShipping |
setMinHandlingTime(Long minHandlingTime)
Minimum handling time (inclusive) between when the order is received and shipped in business
days.
|
ProductShipping |
setMinTransitTime(Long minTransitTime)
Minimum transit time (inclusive) between when the order has shipped and when it's delivered in
business days.
|
ProductShipping |
setPostalCode(String postalCode)
The postal code range that the shipping rate applies to, represented by a postal code, a postal
code prefix followed by a * wildcard, a range between two postal codes or two postal code
prefixes of equal length.
|
ProductShipping |
setPrice(Price price)
Fixed shipping price, represented as a number.
|
ProductShipping |
setRegion(String region)
The geographic region to which a shipping rate applies.
|
ProductShipping |
setService(String service)
A free-form description of the service class or delivery speed.
|
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 ProductShipping setCountry(String country)
country - country or null for nonepublic String getLocationGroupName()
null for nonepublic ProductShipping setLocationGroupName(String locationGroupName)
locationGroupName - locationGroupName or null for nonepublic Long getLocationId()
null for nonepublic ProductShipping setLocationId(Long locationId)
locationId - locationId or null for nonepublic Long getMaxHandlingTime()
null for nonepublic ProductShipping setMaxHandlingTime(Long maxHandlingTime)
maxHandlingTime - maxHandlingTime or null for nonepublic Long getMaxTransitTime()
null for nonepublic ProductShipping setMaxTransitTime(Long maxTransitTime)
maxTransitTime - maxTransitTime or null for nonepublic Long getMinHandlingTime()
null for nonepublic ProductShipping setMinHandlingTime(Long minHandlingTime)
minHandlingTime - minHandlingTime or null for nonepublic Long getMinTransitTime()
null for nonepublic ProductShipping setMinTransitTime(Long minTransitTime)
minTransitTime - minTransitTime or null for nonepublic String getPostalCode()
null for nonepublic ProductShipping setPostalCode(String postalCode)
postalCode - postalCode or null for nonepublic Price getPrice()
null for nonepublic ProductShipping setPrice(Price price)
price - price or null for nonepublic String getRegion()
null for nonepublic ProductShipping setRegion(String region)
region - region or null for nonepublic String getService()
null for nonepublic ProductShipping setService(String service)
service - service or null for nonepublic ProductShipping set(String fieldName, Object value)
set in class com.google.api.client.json.GenericJsonpublic ProductShipping clone()
clone in class com.google.api.client.json.GenericJsonCopyright © 2011–2024 Google. All rights reserved.