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