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