public static class Storefront.SubmitFailed extends AbstractResponse<Storefront.SubmitFailed> implements Storefront.CartSubmitForCompletionResult
optimisticData, responseData| Constructor and Description |
|---|
SubmitFailed() |
SubmitFailed(JsonObject fields) |
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
getCheckoutUrl()
The URL of the checkout for the cart.
|
java.util.List<Storefront.SubmissionError> |
getErrors()
The list of errors that occurred from executing the mutation.
|
java.lang.String |
getGraphQlTypeName() |
Storefront.SubmitFailed |
setCheckoutUrl(java.lang.String arg) |
Storefront.SubmitFailed |
setErrors(java.util.List<Storefront.SubmissionError> arg) |
boolean |
unwrapsToObject(java.lang.String key) |
collectNodes, get, getFieldName, getKey, jsonAsArray, jsonAsBoolean, jsonAsDouble, jsonAsInteger, jsonAsObject, jsonAsString, withAliaspublic SubmitFailed()
public SubmitFailed(JsonObject fields)
throws SchemaViolationError
SchemaViolationErrorpublic java.lang.String getGraphQlTypeName()
getGraphQlTypeName in interface Storefront.CartSubmitForCompletionResultpublic java.lang.String getCheckoutUrl()
public Storefront.SubmitFailed setCheckoutUrl(java.lang.String arg)
public java.util.List<Storefront.SubmissionError> getErrors()
public Storefront.SubmitFailed setErrors(java.util.List<Storefront.SubmissionError> arg)
public boolean unwrapsToObject(java.lang.String key)
unwrapsToObject in class AbstractResponse<Storefront.SubmitFailed>