public final class UnitInvoice
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.Flags
Constructor and Description |
---|
UnitInvoice() |
Modifier and Type | Method and Description |
---|---|
UnitInvoice |
clone() |
java.util.List<UnitInvoiceAdditionalCharge> |
getAdditionalCharges()
Additional charges for a unit, e.g.
|
Price |
getUnitPrice()
[required] Pre-tax or post-tax price of the unit depending on the locality of the order.
|
java.util.List<UnitInvoiceTaxLine> |
getUnitPriceTaxes()
Tax amounts to apply to the unit price.
|
UnitInvoice |
set(java.lang.String fieldName,
java.lang.Object value) |
UnitInvoice |
setAdditionalCharges(java.util.List<UnitInvoiceAdditionalCharge> additionalCharges)
Additional charges for a unit, e.g.
|
UnitInvoice |
setUnitPrice(Price unitPrice)
[required] Pre-tax or post-tax price of the unit depending on the locality of the order.
|
UnitInvoice |
setUnitPriceTaxes(java.util.List<UnitInvoiceTaxLine> unitPriceTaxes)
Tax amounts to apply to the unit price.
|
getFactory, setFactory, toPrettyString, toString
entrySet, get, getClassInfo, getUnknownKeys, put, putAll, remove, setUnknownKeys
clear, containsKey, containsValue, equals, hashCode, isEmpty, keySet, size, values
public java.util.List<UnitInvoiceAdditionalCharge> getAdditionalCharges()
null
for nonepublic UnitInvoice setAdditionalCharges(java.util.List<UnitInvoiceAdditionalCharge> additionalCharges)
additionalCharges
- additionalCharges or null
for nonepublic Price getUnitPrice()
null
for nonepublic UnitInvoice setUnitPrice(Price unitPrice)
unitPrice
- unitPrice or null
for nonepublic java.util.List<UnitInvoiceTaxLine> getUnitPriceTaxes()
null
for nonepublic UnitInvoice setUnitPriceTaxes(java.util.List<UnitInvoiceTaxLine> unitPriceTaxes)
unitPriceTaxes
- unitPriceTaxes or null
for nonepublic UnitInvoice set(java.lang.String fieldName, java.lang.Object value)
set
in class com.google.api.client.json.GenericJson
public UnitInvoice clone()
clone
in class com.google.api.client.json.GenericJson