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