public final class CarrierRate
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 |
|---|
CarrierRate() |
| Modifier and Type | Method and Description |
|---|---|
CarrierRate |
clone() |
String |
getCarrierName()
Carrier service, such as `"UPS"` or `"Fedex"`.
|
String |
getCarrierService()
Carrier service, such as `"ground"` or `"2 days"`.
|
Price |
getFlatAdjustment()
Additive shipping rate modifier.
|
String |
getName()
Name of the carrier rate.
|
String |
getOriginPostalCode()
Shipping origin for this carrier rate.
|
String |
getPercentageAdjustment()
Multiplicative shipping rate modifier as a number in decimal notation.
|
CarrierRate |
set(String fieldName,
Object value) |
CarrierRate |
setCarrierName(String carrierName)
Carrier service, such as `"UPS"` or `"Fedex"`.
|
CarrierRate |
setCarrierService(String carrierService)
Carrier service, such as `"ground"` or `"2 days"`.
|
CarrierRate |
setFlatAdjustment(Price flatAdjustment)
Additive shipping rate modifier.
|
CarrierRate |
setName(String name)
Name of the carrier rate.
|
CarrierRate |
setOriginPostalCode(String originPostalCode)
Shipping origin for this carrier rate.
|
CarrierRate |
setPercentageAdjustment(String percentageAdjustment)
Multiplicative shipping rate modifier as a number in decimal notation.
|
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 getCarrierName()
null for nonepublic CarrierRate setCarrierName(String carrierName)
carrierName - carrierName or null for nonepublic String getCarrierService()
null for nonepublic CarrierRate setCarrierService(String carrierService)
carrierService - carrierService or null for nonepublic Price getFlatAdjustment()
null for nonepublic CarrierRate setFlatAdjustment(Price flatAdjustment)
flatAdjustment - flatAdjustment or null for nonepublic String getName()
null for nonepublic CarrierRate setName(String name)
name - name or null for nonepublic String getOriginPostalCode()
null for nonepublic CarrierRate setOriginPostalCode(String originPostalCode)
originPostalCode - originPostalCode or null for nonepublic String getPercentageAdjustment()
null for nonepublic CarrierRate setPercentageAdjustment(String percentageAdjustment)
percentageAdjustment - percentageAdjustment or null for nonepublic CarrierRate set(String fieldName, Object value)
set in class com.google.api.client.json.GenericJsonpublic CarrierRate clone()
clone in class com.google.api.client.json.GenericJsonCopyright © 2011–2024 Google. All rights reserved.