public static class Storefront.MoneyV2 extends <any> implements Storefront.PricingValue
| 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) |
public MoneyV2()
public MoneyV2(JsonObject fields)
throws SchemaViolationError
SchemaViolationErrorpublic java.lang.String getGraphQlTypeName()
getGraphQlTypeName in interface Storefront.PricingValuepublic 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)