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