public static class Storefront.Currency extends AbstractResponse<Storefront.Currency>
optimisticData, responseData| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
getGraphQlTypeName() |
Storefront.CurrencyCode |
getIsoCode()
The ISO code of the currency.
|
java.lang.String |
getName()
The name of the currency.
|
java.lang.String |
getSymbol()
The symbol of the currency.
|
Storefront.Currency |
setIsoCode(Storefront.CurrencyCode arg) |
Storefront.Currency |
setName(java.lang.String arg) |
Storefront.Currency |
setSymbol(java.lang.String arg) |
boolean |
unwrapsToObject(java.lang.String key) |
collectNodes, get, getFieldName, getKey, jsonAsArray, jsonAsBoolean, jsonAsDouble, jsonAsInteger, jsonAsObject, jsonAsString, withAliaspublic Currency()
public Currency(JsonObject fields)
throws SchemaViolationError
SchemaViolationErrorpublic java.lang.String getGraphQlTypeName()
public Storefront.CurrencyCode getIsoCode()
public Storefront.Currency setIsoCode(Storefront.CurrencyCode arg)
public java.lang.String getName()
public Storefront.Currency setName(java.lang.String arg)
public java.lang.String getSymbol()
public Storefront.Currency setSymbol(java.lang.String arg)
public boolean unwrapsToObject(java.lang.String key)
unwrapsToObject in class AbstractResponse<Storefront.Currency>