public static class Storefront.LocationAddress extends AbstractResponse<Storefront.LocationAddress>
optimisticData, responseData| Constructor and Description |
|---|
LocationAddress() |
LocationAddress(JsonObject fields) |
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
getAddress1()
The first line of the address for the location.
|
java.lang.String |
getAddress2()
The second line of the address for the location.
|
java.lang.String |
getCity()
The city of the location.
|
java.lang.String |
getCountry()
The country of the location.
|
java.lang.String |
getCountryCode()
The country code of the location.
|
java.util.List<java.lang.String> |
getFormatted()
A formatted version of the address for the location.
|
java.lang.String |
getGraphQlTypeName() |
java.lang.Double |
getLatitude()
The latitude coordinates of the location.
|
java.lang.Double |
getLongitude()
The longitude coordinates of the location.
|
java.lang.String |
getPhone()
The phone number of the location.
|
java.lang.String |
getProvince()
The province of the location.
|
java.lang.String |
getProvinceCode()
The code for the province, state, or district of the address of the location.
|
java.lang.String |
getZip()
The ZIP code of the location.
|
Storefront.LocationAddress |
setAddress1(java.lang.String arg) |
Storefront.LocationAddress |
setAddress2(java.lang.String arg) |
Storefront.LocationAddress |
setCity(java.lang.String arg) |
Storefront.LocationAddress |
setCountry(java.lang.String arg) |
Storefront.LocationAddress |
setCountryCode(java.lang.String arg) |
Storefront.LocationAddress |
setFormatted(java.util.List<java.lang.String> arg) |
Storefront.LocationAddress |
setLatitude(java.lang.Double arg) |
Storefront.LocationAddress |
setLongitude(java.lang.Double arg) |
Storefront.LocationAddress |
setPhone(java.lang.String arg) |
Storefront.LocationAddress |
setProvince(java.lang.String arg) |
Storefront.LocationAddress |
setProvinceCode(java.lang.String arg) |
Storefront.LocationAddress |
setZip(java.lang.String arg) |
boolean |
unwrapsToObject(java.lang.String key) |
collectNodes, get, getFieldName, getKey, jsonAsArray, jsonAsBoolean, jsonAsDouble, jsonAsInteger, jsonAsObject, jsonAsString, withAliaspublic LocationAddress()
public LocationAddress(JsonObject fields)
throws SchemaViolationError
SchemaViolationErrorpublic java.lang.String getGraphQlTypeName()
public java.lang.String getAddress1()
public Storefront.LocationAddress setAddress1(java.lang.String arg)
public java.lang.String getAddress2()
public Storefront.LocationAddress setAddress2(java.lang.String arg)
public java.lang.String getCity()
public Storefront.LocationAddress setCity(java.lang.String arg)
public java.lang.String getCountry()
public Storefront.LocationAddress setCountry(java.lang.String arg)
public java.lang.String getCountryCode()
public Storefront.LocationAddress setCountryCode(java.lang.String arg)
public java.util.List<java.lang.String> getFormatted()
public Storefront.LocationAddress setFormatted(java.util.List<java.lang.String> arg)
public java.lang.Double getLatitude()
public Storefront.LocationAddress setLatitude(java.lang.Double arg)
public java.lang.Double getLongitude()
public Storefront.LocationAddress setLongitude(java.lang.Double arg)
public java.lang.String getPhone()
public Storefront.LocationAddress setPhone(java.lang.String arg)
public java.lang.String getProvince()
public Storefront.LocationAddress setProvince(java.lang.String arg)
public java.lang.String getProvinceCode()
public Storefront.LocationAddress setProvinceCode(java.lang.String arg)
public java.lang.String getZip()
public Storefront.LocationAddress setZip(java.lang.String arg)
public boolean unwrapsToObject(java.lang.String key)
unwrapsToObject in class AbstractResponse<Storefront.LocationAddress>