public static class Storefront.CompanyLocation extends AbstractResponse<Storefront.CompanyLocation> implements Storefront.HasMetafields, Storefront.MetafieldParentResource, Storefront.Node
optimisticData, responseData| Constructor and Description |
|---|
CompanyLocation() |
CompanyLocation(JsonObject fields) |
| Modifier and Type | Method and Description |
|---|---|
DateTime |
getCreatedAt()
The date and time ([ISO 8601 format](http://en.wikipedia.org/wiki/ISO_8601)) at which the company
location was created in Shopify.
|
java.lang.String |
getExternalId()
A unique externally-supplied ID for the company.
|
java.lang.String |
getGraphQlTypeName() |
ID |
getId()
A globally-unique ID.
|
java.lang.String |
getLocale()
The preferred locale of the company location.
|
Storefront.Metafield |
getMetafield()
Returns a metafield found by namespace and key.
|
java.util.List<Storefront.Metafield> |
getMetafields()
The metafields associated with the resource matching the supplied list of namespaces and keys.
|
java.lang.String |
getName()
The name of the company location.
|
DateTime |
getUpdatedAt()
The date and time ([ISO 8601 format](http://en.wikipedia.org/wiki/ISO_8601)) at which the company
location was last modified.
|
Storefront.CompanyLocation |
setCreatedAt(DateTime arg) |
Storefront.CompanyLocation |
setExternalId(java.lang.String arg) |
Storefront.CompanyLocation |
setLocale(java.lang.String arg) |
Storefront.CompanyLocation |
setMetafield(Storefront.Metafield arg) |
Storefront.CompanyLocation |
setMetafields(java.util.List<Storefront.Metafield> arg) |
Storefront.CompanyLocation |
setName(java.lang.String arg) |
Storefront.CompanyLocation |
setUpdatedAt(DateTime arg) |
boolean |
unwrapsToObject(java.lang.String key) |
collectNodes, get, getFieldName, getKey, jsonAsArray, jsonAsBoolean, jsonAsDouble, jsonAsInteger, jsonAsObject, jsonAsString, withAliaspublic CompanyLocation()
public CompanyLocation(JsonObject fields)
throws SchemaViolationError
SchemaViolationErrorpublic java.lang.String getGraphQlTypeName()
getGraphQlTypeName in interface Storefront.HasMetafieldsgetGraphQlTypeName in interface Storefront.MetafieldParentResourcegetGraphQlTypeName in interface Storefront.NodegetGraphQlTypeName in interface Nodepublic DateTime getCreatedAt()
public Storefront.CompanyLocation setCreatedAt(DateTime arg)
public java.lang.String getExternalId()
public Storefront.CompanyLocation setExternalId(java.lang.String arg)
public ID getId()
getId in interface Storefront.NodegetId in interface Nodepublic java.lang.String getLocale()
public Storefront.CompanyLocation setLocale(java.lang.String arg)
public Storefront.Metafield getMetafield()
getMetafield in interface Storefront.HasMetafieldspublic Storefront.CompanyLocation setMetafield(Storefront.Metafield arg)
public java.util.List<Storefront.Metafield> getMetafields()
getMetafields in interface Storefront.HasMetafieldspublic Storefront.CompanyLocation setMetafields(java.util.List<Storefront.Metafield> arg)
public java.lang.String getName()
public Storefront.CompanyLocation setName(java.lang.String arg)
public DateTime getUpdatedAt()
public Storefront.CompanyLocation setUpdatedAt(DateTime arg)
public boolean unwrapsToObject(java.lang.String key)
unwrapsToObject in class AbstractResponse<Storefront.CompanyLocation>