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