public enum CartState extends Enum<CartState> implements SphereEnumeration
SphereEnumeration.| Enum Constant and Description |
|---|
ACTIVE
The cart can be updated and ordered.
|
FROZEN |
MERGED
Anonymous cart whose content was merged into a customers cart on signin.
|
ORDERED
The cart was ordered.
|
| Modifier and Type | Method and Description |
|---|---|
static CartState |
defaultValue() |
static CartState |
ofSphereValue(String value) |
static CartState |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static CartState[] |
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 CartState ACTIVE
public static final CartState MERGED
public static final CartState ORDERED
public static final CartState FROZEN
public static CartState[] values()
for (CartState c : CartState.values()) System.out.println(c);
public static CartState 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 CartState defaultValue()