public class InvoiceTotal extends AbstractResponse<InvoiceTotal>
optimisticData, responseData| Constructor and Description |
|---|
InvoiceTotal() |
InvoiceTotal(com.google.gson.JsonObject fields) |
| Modifier and Type | Method and Description |
|---|---|
Money |
getBaseGrandTotal()
The final base grand total amount in the base currency
|
List<Discount> |
getDiscounts()
The applied discounts to the invoice
|
Money |
getGrandTotal()
The final total amount, including shipping, discounts, and taxes
|
String |
getGraphQlTypeName() |
ShippingHandling |
getShippingHandling()
Contains details about the shipping and handling costs for the invoice
|
Money |
getSubtotal()
The subtotal of the invoice, excluding shipping, discounts, and taxes
|
List<TaxItem> |
getTaxes()
The invoice tax details
|
Money |
getTotalShipping()
The shipping amount for the invoice
|
Money |
getTotalTax()
The amount of tax applied to the invoice
|
InvoiceTotal |
setBaseGrandTotal(Money arg) |
InvoiceTotal |
setDiscounts(List<Discount> arg) |
InvoiceTotal |
setGrandTotal(Money arg) |
InvoiceTotal |
setShippingHandling(ShippingHandling arg) |
InvoiceTotal |
setSubtotal(Money arg) |
InvoiceTotal |
setTaxes(List<TaxItem> arg) |
InvoiceTotal |
setTotalShipping(Money arg) |
InvoiceTotal |
setTotalTax(Money arg) |
boolean |
unwrapsToObject(String key) |
collectNodes, get, getAsArray, getAsBoolean, getAsDouble, getAsInteger, getAsString, getFieldName, getKey, jsonAsArray, jsonAsBoolean, jsonAsDouble, jsonAsInteger, jsonAsObject, jsonAsString, readCustomField, withAliaspublic InvoiceTotal()
public InvoiceTotal(com.google.gson.JsonObject fields)
throws SchemaViolationError
SchemaViolationErrorpublic String getGraphQlTypeName()
public Money getBaseGrandTotal()
public InvoiceTotal setBaseGrandTotal(Money arg)
public InvoiceTotal setDiscounts(List<Discount> arg)
public Money getGrandTotal()
public InvoiceTotal setGrandTotal(Money arg)
public ShippingHandling getShippingHandling()
public InvoiceTotal setShippingHandling(ShippingHandling arg)
public Money getSubtotal()
public InvoiceTotal setSubtotal(Money arg)
public InvoiceTotal setTaxes(List<TaxItem> arg)
public Money getTotalShipping()
public InvoiceTotal setTotalShipping(Money arg)
public Money getTotalTax()
public InvoiceTotal setTotalTax(Money arg)
public boolean unwrapsToObject(String key)
unwrapsToObject in class AbstractResponse<InvoiceTotal>Copyright © 2022 Adobe. All rights reserved.