public static class Storefront.ShopPolicyWithDefault extends AbstractResponse<Storefront.ShopPolicyWithDefault>
optimisticData, responseData| Constructor and Description |
|---|
ShopPolicyWithDefault() |
ShopPolicyWithDefault(JsonObject fields) |
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
getBody()
The text of the policy.
|
java.lang.String |
getGraphQlTypeName() |
java.lang.String |
getHandle()
The handle of the policy.
|
ID |
getId()
The unique ID of the policy.
|
java.lang.String |
getTitle()
The title of the policy.
|
java.lang.String |
getUrl()
Public URL to the policy.
|
Storefront.ShopPolicyWithDefault |
setBody(java.lang.String arg) |
Storefront.ShopPolicyWithDefault |
setHandle(java.lang.String arg) |
Storefront.ShopPolicyWithDefault |
setId(ID arg) |
Storefront.ShopPolicyWithDefault |
setTitle(java.lang.String arg) |
Storefront.ShopPolicyWithDefault |
setUrl(java.lang.String arg) |
boolean |
unwrapsToObject(java.lang.String key) |
collectNodes, get, getFieldName, getKey, jsonAsArray, jsonAsBoolean, jsonAsDouble, jsonAsInteger, jsonAsObject, jsonAsString, withAliaspublic ShopPolicyWithDefault()
public ShopPolicyWithDefault(JsonObject fields)
throws SchemaViolationError
SchemaViolationErrorpublic java.lang.String getGraphQlTypeName()
public java.lang.String getBody()
public Storefront.ShopPolicyWithDefault setBody(java.lang.String arg)
public java.lang.String getHandle()
public Storefront.ShopPolicyWithDefault setHandle(java.lang.String arg)
public ID getId()
public Storefront.ShopPolicyWithDefault setId(ID arg)
public java.lang.String getTitle()
public Storefront.ShopPolicyWithDefault setTitle(java.lang.String arg)
public java.lang.String getUrl()
public Storefront.ShopPolicyWithDefault setUrl(java.lang.String arg)
public boolean unwrapsToObject(java.lang.String key)
unwrapsToObject in class AbstractResponse<Storefront.ShopPolicyWithDefault>