public static class Storefront.CheckoutDiscountCodeRemovePayload extends AbstractResponse<Storefront.CheckoutDiscountCodeRemovePayload>
optimisticData, responseData| Constructor and Description |
|---|
CheckoutDiscountCodeRemovePayload() |
CheckoutDiscountCodeRemovePayload(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.CheckoutDiscountCodeRemovePayload |
setCheckout(Storefront.Checkout arg) |
Storefront.CheckoutDiscountCodeRemovePayload |
setCheckoutUserErrors(java.util.List<Storefront.CheckoutUserError> arg) |
Storefront.CheckoutDiscountCodeRemovePayload |
setUserErrors(java.util.List<Storefront.UserError> arg) |
boolean |
unwrapsToObject(java.lang.String key) |
collectNodes, get, getFieldName, getKey, jsonAsArray, jsonAsBoolean, jsonAsDouble, jsonAsInteger, jsonAsObject, jsonAsString, withAliaspublic CheckoutDiscountCodeRemovePayload()
public CheckoutDiscountCodeRemovePayload(JsonObject fields)
throws SchemaViolationError
SchemaViolationErrorpublic java.lang.String getGraphQlTypeName()
public Storefront.Checkout getCheckout()
public Storefront.CheckoutDiscountCodeRemovePayload setCheckout(Storefront.Checkout arg)
public java.util.List<Storefront.CheckoutUserError> getCheckoutUserErrors()
public Storefront.CheckoutDiscountCodeRemovePayload setCheckoutUserErrors(java.util.List<Storefront.CheckoutUserError> arg)
public java.util.List<Storefront.UserError> getUserErrors()
public Storefront.CheckoutDiscountCodeRemovePayload setUserErrors(java.util.List<Storefront.UserError> arg)
public boolean unwrapsToObject(java.lang.String key)
unwrapsToObject in class AbstractResponse<Storefront.CheckoutDiscountCodeRemovePayload>