public static class Storefront.Location extends AbstractResponse<Storefront.Location> implements Storefront.Node
optimisticData, responseData| Modifier and Type | Method and Description |
|---|---|
Storefront.LocationAddress |
getAddress()
The address of the location.
|
java.lang.String |
getGraphQlTypeName() |
ID |
getId()
A globally-unique identifier.
|
java.lang.String |
getName()
The name of the location.
|
Storefront.Location |
setAddress(Storefront.LocationAddress arg) |
Storefront.Location |
setName(java.lang.String arg) |
boolean |
unwrapsToObject(java.lang.String key) |
collectNodes, get, getFieldName, getKey, jsonAsArray, jsonAsBoolean, jsonAsDouble, jsonAsInteger, jsonAsObject, jsonAsString, withAliaspublic Location()
public Location(JsonObject fields)
throws SchemaViolationError
SchemaViolationErrorpublic java.lang.String getGraphQlTypeName()
getGraphQlTypeName in interface Storefront.NodegetGraphQlTypeName in interface Nodepublic Storefront.LocationAddress getAddress()
public Storefront.Location setAddress(Storefront.LocationAddress arg)
public ID getId()
getId in interface Storefront.NodegetId in interface Nodepublic java.lang.String getName()
public Storefront.Location setName(java.lang.String arg)
public boolean unwrapsToObject(java.lang.String key)
unwrapsToObject in class AbstractResponse<Storefront.Location>