public static class Storefront.CheckoutAttributesUpdateV2Payload extends AbstractResponse<Storefront.CheckoutAttributesUpdateV2Payload>
optimisticData, responseData| Constructor and Description |
|---|
CheckoutAttributesUpdateV2Payload() |
CheckoutAttributesUpdateV2Payload(JsonObject fields) |
| Modifier and Type | Method and Description |
|---|---|
Storefront.Checkout |
getCheckout()
The updated checkout object.
|
java.util.List<Storefront.CheckoutUserError> |
getCheckoutUserErrors()
The list of errors that occurred from executing the mutation.
|
java.lang.String |
getGraphQlTypeName() |
java.util.List<Storefront.UserError> |
getUserErrors()
Deprecated.
Use `checkoutUserErrors` instead.
|
Storefront.CheckoutAttributesUpdateV2Payload |
setCheckout(Storefront.Checkout arg) |
Storefront.CheckoutAttributesUpdateV2Payload |
setCheckoutUserErrors(java.util.List<Storefront.CheckoutUserError> arg) |
Storefront.CheckoutAttributesUpdateV2Payload |
setUserErrors(java.util.List<Storefront.UserError> arg) |
boolean |
unwrapsToObject(java.lang.String key) |
collectNodes, get, getFieldName, getKey, jsonAsArray, jsonAsBoolean, jsonAsDouble, jsonAsInteger, jsonAsObject, jsonAsString, withAliaspublic CheckoutAttributesUpdateV2Payload()
public CheckoutAttributesUpdateV2Payload(JsonObject fields)
throws SchemaViolationError
SchemaViolationErrorpublic java.lang.String getGraphQlTypeName()
public Storefront.Checkout getCheckout()
public Storefront.CheckoutAttributesUpdateV2Payload setCheckout(Storefront.Checkout arg)
public java.util.List<Storefront.CheckoutUserError> getCheckoutUserErrors()
public Storefront.CheckoutAttributesUpdateV2Payload setCheckoutUserErrors(java.util.List<Storefront.CheckoutUserError> arg)
public java.util.List<Storefront.UserError> getUserErrors()
public Storefront.CheckoutAttributesUpdateV2Payload setUserErrors(java.util.List<Storefront.UserError> arg)
public boolean unwrapsToObject(java.lang.String key)
unwrapsToObject in class AbstractResponse<Storefront.CheckoutAttributesUpdateV2Payload>