public static class Storefront.CartMetafieldsSetPayload extends AbstractResponse<Storefront.CartMetafieldsSetPayload>
optimisticData, responseData| Constructor and Description |
|---|
CartMetafieldsSetPayload() |
CartMetafieldsSetPayload(JsonObject fields) |
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
getGraphQlTypeName() |
java.util.List<Storefront.Metafield> |
getMetafields()
The list of cart metafields that were set.
|
java.util.List<Storefront.MetafieldsSetUserError> |
getUserErrors()
The list of errors that occurred from executing the mutation.
|
Storefront.CartMetafieldsSetPayload |
setMetafields(java.util.List<Storefront.Metafield> arg) |
Storefront.CartMetafieldsSetPayload |
setUserErrors(java.util.List<Storefront.MetafieldsSetUserError> arg) |
boolean |
unwrapsToObject(java.lang.String key) |
collectNodes, get, getFieldName, getKey, jsonAsArray, jsonAsBoolean, jsonAsDouble, jsonAsInteger, jsonAsObject, jsonAsString, withAliaspublic CartMetafieldsSetPayload()
public CartMetafieldsSetPayload(JsonObject fields)
throws SchemaViolationError
SchemaViolationErrorpublic java.lang.String getGraphQlTypeName()
public java.util.List<Storefront.Metafield> getMetafields()
public Storefront.CartMetafieldsSetPayload setMetafields(java.util.List<Storefront.Metafield> arg)
public java.util.List<Storefront.MetafieldsSetUserError> getUserErrors()
public Storefront.CartMetafieldsSetPayload setUserErrors(java.util.List<Storefront.MetafieldsSetUserError> arg)
public boolean unwrapsToObject(java.lang.String key)
unwrapsToObject in class AbstractResponse<Storefront.CartMetafieldsSetPayload>