public enum CheckoutUserInputErrorCodes extends Enum<CheckoutUserInputErrorCodes>
| Enum Constant and Description |
|---|
INSUFFICIENT_STOCK |
NOT_SALABLE |
PRODUCT_NOT_FOUND |
REORDER_NOT_AVAILABLE |
UNDEFINED |
UNKNOWN_VALUE |
| Modifier and Type | Method and Description |
|---|---|
static CheckoutUserInputErrorCodes |
fromGraphQl(String value) |
String |
toString() |
static CheckoutUserInputErrorCodes |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static CheckoutUserInputErrorCodes[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final CheckoutUserInputErrorCodes INSUFFICIENT_STOCK
public static final CheckoutUserInputErrorCodes NOT_SALABLE
public static final CheckoutUserInputErrorCodes PRODUCT_NOT_FOUND
public static final CheckoutUserInputErrorCodes REORDER_NOT_AVAILABLE
public static final CheckoutUserInputErrorCodes UNDEFINED
public static final CheckoutUserInputErrorCodes UNKNOWN_VALUE
public static CheckoutUserInputErrorCodes[] values()
for (CheckoutUserInputErrorCodes c : CheckoutUserInputErrorCodes.values()) System.out.println(c);
public static CheckoutUserInputErrorCodes 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 CheckoutUserInputErrorCodes fromGraphQl(String value)
public String toString()
toString in class Enum<CheckoutUserInputErrorCodes>Copyright © 2022 Adobe. All rights reserved.