public enum CartUserInputErrorType extends Enum<CartUserInputErrorType>
| Enum Constant and Description |
|---|
INSUFFICIENT_STOCK |
NOT_SALABLE |
PRODUCT_NOT_FOUND |
UNDEFINED |
UNKNOWN_VALUE |
| Modifier and Type | Method and Description |
|---|---|
static CartUserInputErrorType |
fromGraphQl(String value) |
String |
toString() |
static CartUserInputErrorType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static CartUserInputErrorType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final CartUserInputErrorType INSUFFICIENT_STOCK
public static final CartUserInputErrorType NOT_SALABLE
public static final CartUserInputErrorType PRODUCT_NOT_FOUND
public static final CartUserInputErrorType UNDEFINED
public static final CartUserInputErrorType UNKNOWN_VALUE
public static CartUserInputErrorType[] values()
for (CartUserInputErrorType c : CartUserInputErrorType.values()) System.out.println(c);
public static CartUserInputErrorType valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant with the specified nameNullPointerException - if the argument is nullpublic static CartUserInputErrorType fromGraphQl(String value)
public String toString()
toString in class Enum<CartUserInputErrorType>Copyright © 2022 Adobe. All rights reserved.