public enum StateType extends Enum<StateType> implements SphereEnumeration
SphereEnumeration.| Enum Constant and Description |
|---|
LINE_ITEM_STATE |
ORDER_STATE |
PAYMENT_STATE |
PRODUCT_STATE |
REVIEW_STATE |
| Modifier and Type | Method and Description |
|---|---|
static StateType |
ofSphereValue(String value) |
static StateType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static StateType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOffindBySphereName, name, toSphereNamepublic static final StateType LINE_ITEM_STATE
public static final StateType ORDER_STATE
public static final StateType PRODUCT_STATE
public static final StateType REVIEW_STATE
public static final StateType PAYMENT_STATE
public static StateType[] values()
for (StateType c : StateType.values()) System.out.println(c);
public static StateType 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 null