public static class Storefront.MoneyV2 extends AbstractResponse<Storefront.MoneyV2> implements Storefront.PricingValue, Storefront.SellingPlanCheckoutChargeValue
optimisticData, responseData| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
getAmount()
Decimal money amount.
|
Storefront.CurrencyCode |
getCurrencyCode()
Currency of the money.
|
java.lang.String |
getGraphQlTypeName() |
Storefront.MoneyV2 |
setAmount(java.lang.String arg) |
Storefront.MoneyV2 |
setCurrencyCode(Storefront.CurrencyCode arg) |
boolean |
unwrapsToObject(java.lang.String key) |
collectNodes, get, getFieldName, getKey, jsonAsArray, jsonAsBoolean, jsonAsDouble, jsonAsInteger, jsonAsObject, jsonAsString, withAliaspublic MoneyV2()
public MoneyV2(JsonObject fields)
throws SchemaViolationError
SchemaViolationErrorpublic java.lang.String getGraphQlTypeName()
getGraphQlTypeName in interface Storefront.PricingValuegetGraphQlTypeName in interface Storefront.SellingPlanCheckoutChargeValuepublic java.lang.String getAmount()
public Storefront.MoneyV2 setAmount(java.lang.String arg)
public Storefront.CurrencyCode getCurrencyCode()
public Storefront.MoneyV2 setCurrencyCode(Storefront.CurrencyCode arg)
public boolean unwrapsToObject(java.lang.String key)
unwrapsToObject in class AbstractResponse<Storefront.MoneyV2>