public static class Storefront.Company extends AbstractResponse<Storefront.Company> implements Storefront.HasMetafields, Storefront.MetafieldParentResource, Storefront.Node
optimisticData, responseData| 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
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.
|
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.
|
DateTime |
getUpdatedAt()
The date and time ([ISO 8601 format](http://en.wikipedia.org/wiki/ISO_8601)) at which the company
was last modified.
|
Storefront.Company |
setCreatedAt(DateTime arg) |
Storefront.Company |
setExternalId(java.lang.String arg) |
Storefront.Company |
setMetafield(Storefront.Metafield arg) |
Storefront.Company |
setMetafields(java.util.List<Storefront.Metafield> arg) |
Storefront.Company |
setName(java.lang.String arg) |
Storefront.Company |
setUpdatedAt(DateTime arg) |
boolean |
unwrapsToObject(java.lang.String key) |
collectNodes, get, getFieldName, getKey, jsonAsArray, jsonAsBoolean, jsonAsDouble, jsonAsInteger, jsonAsObject, jsonAsString, withAliaspublic Company()
public Company(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.Company setCreatedAt(DateTime arg)
public java.lang.String getExternalId()
public Storefront.Company setExternalId(java.lang.String arg)
public ID getId()
getId in interface Storefront.NodegetId in interface Nodepublic Storefront.Metafield getMetafield()
getMetafield in interface Storefront.HasMetafieldspublic Storefront.Company setMetafield(Storefront.Metafield arg)
public java.util.List<Storefront.Metafield> getMetafields()
getMetafields in interface Storefront.HasMetafieldspublic Storefront.Company setMetafields(java.util.List<Storefront.Metafield> arg)
public java.lang.String getName()
public Storefront.Company setName(java.lang.String arg)
public DateTime getUpdatedAt()
public Storefront.Company setUpdatedAt(DateTime arg)
public boolean unwrapsToObject(java.lang.String key)
unwrapsToObject in class AbstractResponse<Storefront.Company>