public static class Storefront.Country extends AbstractResponse<Storefront.Country>
optimisticData, responseData| Modifier and Type | Method and Description |
|---|---|
java.util.List<Storefront.Language> |
getAvailableLanguages()
The languages available for the country.
|
Storefront.Currency |
getCurrency()
The currency of the country.
|
java.lang.String |
getGraphQlTypeName() |
Storefront.CountryCode |
getIsoCode()
The ISO code of the country.
|
Storefront.Market |
getMarket()
The market that includes this country.
|
java.lang.String |
getName()
The name of the country.
|
Storefront.UnitSystem |
getUnitSystem()
The unit system used in the country.
|
Storefront.Country |
setAvailableLanguages(java.util.List<Storefront.Language> arg) |
Storefront.Country |
setCurrency(Storefront.Currency arg) |
Storefront.Country |
setIsoCode(Storefront.CountryCode arg) |
Storefront.Country |
setMarket(Storefront.Market arg) |
Storefront.Country |
setName(java.lang.String arg) |
Storefront.Country |
setUnitSystem(Storefront.UnitSystem arg) |
boolean |
unwrapsToObject(java.lang.String key) |
collectNodes, get, getFieldName, getKey, jsonAsArray, jsonAsBoolean, jsonAsDouble, jsonAsInteger, jsonAsObject, jsonAsString, withAliaspublic Country()
public Country(JsonObject fields)
throws SchemaViolationError
SchemaViolationErrorpublic java.lang.String getGraphQlTypeName()
public java.util.List<Storefront.Language> getAvailableLanguages()
public Storefront.Country setAvailableLanguages(java.util.List<Storefront.Language> arg)
public Storefront.Currency getCurrency()
public Storefront.Country setCurrency(Storefront.Currency arg)
public Storefront.CountryCode getIsoCode()
public Storefront.Country setIsoCode(Storefront.CountryCode arg)
public Storefront.Market getMarket()
public Storefront.Country setMarket(Storefront.Market arg)
public java.lang.String getName()
public Storefront.Country setName(java.lang.String arg)
public Storefront.UnitSystem getUnitSystem()
public Storefront.Country setUnitSystem(Storefront.UnitSystem arg)
public boolean unwrapsToObject(java.lang.String key)
unwrapsToObject in class AbstractResponse<Storefront.Country>