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