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