public class TaxItem extends AbstractResponse<TaxItem>
optimisticData, responseData| Constructor and Description |
|---|
TaxItem() |
TaxItem(com.google.gson.JsonObject fields) |
| Modifier and Type | Method and Description |
|---|---|
Money |
getAmount()
The amount of tax applied to the item
|
String |
getGraphQlTypeName() |
Double |
getRate()
The rate used to calculate the tax
|
String |
getTitle()
A title that describes the tax
|
TaxItem |
setAmount(Money arg) |
TaxItem |
setRate(Double arg) |
TaxItem |
setTitle(String arg) |
boolean |
unwrapsToObject(String key) |
collectNodes, get, getAsArray, getAsBoolean, getAsDouble, getAsInteger, getAsString, getFieldName, getKey, jsonAsArray, jsonAsBoolean, jsonAsDouble, jsonAsInteger, jsonAsObject, jsonAsString, readCustomField, withAliaspublic TaxItem()
public TaxItem(com.google.gson.JsonObject fields)
throws SchemaViolationError
SchemaViolationErrorpublic String getGraphQlTypeName()
public Money getAmount()
public Double getRate()
public String getTitle()
public boolean unwrapsToObject(String key)
unwrapsToObject in class AbstractResponse<TaxItem>Copyright © 2022 Adobe. All rights reserved.