public static class Storefront.CheckoutDiscountCodeRemovePayload
extends <any>
| 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()
List of errors that occurred 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) |
public 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)