public static class Storefront.CartDeliveryCoordinatesPreference extends AbstractResponse<Storefront.CartDeliveryCoordinatesPreference>
optimisticData, responseData| Constructor and Description |
|---|
CartDeliveryCoordinatesPreference() |
CartDeliveryCoordinatesPreference(JsonObject fields) |
| Modifier and Type | Method and Description |
|---|---|
Storefront.CountryCode |
getCountryCode()
The two-letter code for the country of the preferred location.
|
java.lang.String |
getGraphQlTypeName() |
java.lang.Double |
getLatitude()
The geographic latitude for a given location.
|
java.lang.Double |
getLongitude()
The geographic longitude for a given location.
|
Storefront.CartDeliveryCoordinatesPreference |
setCountryCode(Storefront.CountryCode arg) |
Storefront.CartDeliveryCoordinatesPreference |
setLatitude(java.lang.Double arg) |
Storefront.CartDeliveryCoordinatesPreference |
setLongitude(java.lang.Double arg) |
boolean |
unwrapsToObject(java.lang.String key) |
collectNodes, get, getFieldName, getKey, jsonAsArray, jsonAsBoolean, jsonAsDouble, jsonAsInteger, jsonAsObject, jsonAsString, withAliaspublic CartDeliveryCoordinatesPreference()
public CartDeliveryCoordinatesPreference(JsonObject fields)
throws SchemaViolationError
SchemaViolationErrorpublic java.lang.String getGraphQlTypeName()
public Storefront.CountryCode getCountryCode()
public Storefront.CartDeliveryCoordinatesPreference setCountryCode(Storefront.CountryCode arg)
public java.lang.Double getLatitude()
public Storefront.CartDeliveryCoordinatesPreference setLatitude(java.lang.Double arg)
public java.lang.Double getLongitude()
public Storefront.CartDeliveryCoordinatesPreference setLongitude(java.lang.Double arg)
public boolean unwrapsToObject(java.lang.String key)
unwrapsToObject in class AbstractResponse<Storefront.CartDeliveryCoordinatesPreference>