public final class UnitInvoiceAdditionalCharge extends 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
GenericData.FlagsAbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V>| Constructor and Description |
|---|
UnitInvoiceAdditionalCharge() |
| Modifier and Type | Method and Description |
|---|---|
UnitInvoiceAdditionalCharge |
clone() |
Amount |
getAdditionalChargeAmount()
[required] Amount of the additional charge.
|
List<Promotion> |
getAdditionalChargePromotions()
Deprecated.
|
String |
getType()
[required] Type of the additional charge.
|
UnitInvoiceAdditionalCharge |
set(String fieldName,
Object value) |
UnitInvoiceAdditionalCharge |
setAdditionalChargeAmount(Amount additionalChargeAmount)
[required] Amount of the additional charge.
|
UnitInvoiceAdditionalCharge |
setAdditionalChargePromotions(List<Promotion> additionalChargePromotions)
Deprecated.
|
UnitInvoiceAdditionalCharge |
setType(String type)
[required] Type of the additional charge.
|
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 Amount getAdditionalChargeAmount()
null for nonepublic UnitInvoiceAdditionalCharge setAdditionalChargeAmount(Amount additionalChargeAmount)
additionalChargeAmount - additionalChargeAmount or null for nonepublic List<Promotion> getAdditionalChargePromotions()
null for nonepublic UnitInvoiceAdditionalCharge setAdditionalChargePromotions(List<Promotion> additionalChargePromotions)
additionalChargePromotions - additionalChargePromotions or null for nonepublic String getType()
null for nonepublic UnitInvoiceAdditionalCharge setType(String type)
type - type or null for nonepublic UnitInvoiceAdditionalCharge set(String fieldName, Object value)
set in class GenericJsonpublic UnitInvoiceAdditionalCharge clone()
clone in class GenericJsonCopyright © 2011–2021 Google. All rights reserved.