public static class Storefront.UserErrorsShopPayPaymentRequestSessionUserErrors extends AbstractResponse<Storefront.UserErrorsShopPayPaymentRequestSessionUserErrors> implements Storefront.DisplayableError
optimisticData, responseData| Constructor and Description |
|---|
UserErrorsShopPayPaymentRequestSessionUserErrors() |
UserErrorsShopPayPaymentRequestSessionUserErrors(JsonObject fields) |
| Modifier and Type | Method and Description |
|---|---|
Storefront.UserErrorsShopPayPaymentRequestSessionUserErrorsCode |
getCode()
The error code.
|
java.util.List<java.lang.String> |
getField()
The path to the input field that caused the error.
|
java.lang.String |
getGraphQlTypeName() |
java.lang.String |
getMessage()
The error message.
|
Storefront.UserErrorsShopPayPaymentRequestSessionUserErrors |
setCode(Storefront.UserErrorsShopPayPaymentRequestSessionUserErrorsCode arg) |
Storefront.UserErrorsShopPayPaymentRequestSessionUserErrors |
setField(java.util.List<java.lang.String> arg) |
Storefront.UserErrorsShopPayPaymentRequestSessionUserErrors |
setMessage(java.lang.String arg) |
boolean |
unwrapsToObject(java.lang.String key) |
collectNodes, get, getFieldName, getKey, jsonAsArray, jsonAsBoolean, jsonAsDouble, jsonAsInteger, jsonAsObject, jsonAsString, withAliaspublic UserErrorsShopPayPaymentRequestSessionUserErrors()
public UserErrorsShopPayPaymentRequestSessionUserErrors(JsonObject fields)
throws SchemaViolationError
SchemaViolationErrorpublic java.lang.String getGraphQlTypeName()
getGraphQlTypeName in interface Storefront.DisplayableErrorpublic Storefront.UserErrorsShopPayPaymentRequestSessionUserErrorsCode getCode()
public Storefront.UserErrorsShopPayPaymentRequestSessionUserErrors setCode(Storefront.UserErrorsShopPayPaymentRequestSessionUserErrorsCode arg)
public java.util.List<java.lang.String> getField()
getField in interface Storefront.DisplayableErrorpublic Storefront.UserErrorsShopPayPaymentRequestSessionUserErrors setField(java.util.List<java.lang.String> arg)
public java.lang.String getMessage()
getMessage in interface Storefront.DisplayableErrorpublic Storefront.UserErrorsShopPayPaymentRequestSessionUserErrors setMessage(java.lang.String arg)
public boolean unwrapsToObject(java.lang.String key)
unwrapsToObject in class AbstractResponse<Storefront.UserErrorsShopPayPaymentRequestSessionUserErrors>