public static enum Storefront.CustomerErrorCode extends java.lang.Enum<Storefront.CustomerErrorCode>
| Enum Constant and Description |
|---|
ALREADY_ENABLED
Customer already enabled.
|
BAD_DOMAIN
Input email contains an invalid domain name.
|
BLANK
The input value is blank.
|
CONTAINS_HTML_TAGS
Input contains HTML tags.
|
CONTAINS_URL
Input contains URL.
|
CUSTOMER_DISABLED
Customer is disabled.
|
INVALID
The input value is invalid.
|
INVALID_MULTIPASS_REQUEST
Multipass token is not valid.
|
NOT_FOUND
Address does not exist.
|
PASSWORD_STARTS_OR_ENDS_WITH_WHITESPACE
Input password starts or ends with whitespace.
|
TAKEN
The input value is already taken.
|
TOKEN_INVALID
Invalid activation token.
|
TOO_LONG
The input value is too long.
|
TOO_SHORT
The input value is too short.
|
UNIDENTIFIED_CUSTOMER
Unidentified customer.
|
UNKNOWN_VALUE |
| Modifier and Type | Method and Description |
|---|---|
static Storefront.CustomerErrorCode |
fromGraphQl(java.lang.String value) |
java.lang.String |
toString() |
static Storefront.CustomerErrorCode |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static Storefront.CustomerErrorCode[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Storefront.CustomerErrorCode ALREADY_ENABLED
public static final Storefront.CustomerErrorCode BAD_DOMAIN
public static final Storefront.CustomerErrorCode BLANK
public static final Storefront.CustomerErrorCode CONTAINS_HTML_TAGS
public static final Storefront.CustomerErrorCode CONTAINS_URL
public static final Storefront.CustomerErrorCode CUSTOMER_DISABLED
public static final Storefront.CustomerErrorCode INVALID
public static final Storefront.CustomerErrorCode INVALID_MULTIPASS_REQUEST
public static final Storefront.CustomerErrorCode NOT_FOUND
public static final Storefront.CustomerErrorCode PASSWORD_STARTS_OR_ENDS_WITH_WHITESPACE
public static final Storefront.CustomerErrorCode TAKEN
public static final Storefront.CustomerErrorCode TOKEN_INVALID
public static final Storefront.CustomerErrorCode TOO_LONG
public static final Storefront.CustomerErrorCode TOO_SHORT
public static final Storefront.CustomerErrorCode UNIDENTIFIED_CUSTOMER
public static final Storefront.CustomerErrorCode UNKNOWN_VALUE
public static Storefront.CustomerErrorCode[] values()
for (Storefront.CustomerErrorCode c : Storefront.CustomerErrorCode.values()) System.out.println(c);
public static Storefront.CustomerErrorCode valueOf(java.lang.String name)
name - the name of the enum constant to be returned.java.lang.IllegalArgumentException - if this enum type has no constant with the specified namejava.lang.NullPointerException - if the argument is nullpublic static Storefront.CustomerErrorCode fromGraphQl(java.lang.String value)
public java.lang.String toString()
toString in class java.lang.Enum<Storefront.CustomerErrorCode>