public enum ShippingMethodState extends Enum<ShippingMethodState> implements SphereEnumeration
Enum Constant and Description |
---|
DOES_NOT_MATCH_CART
The shippingMethod predicate does not match the cart.
|
MATCHES_CART
Either the shippingMethod defines no predicate, or the predicate matches the cart.
|
Modifier and Type | Method and Description |
---|---|
static ShippingMethodState |
ofSphereValue(String value) |
static ShippingMethodState |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ShippingMethodState[] |
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, valueOf
findBySphereName, name, toSphereName
public static final ShippingMethodState DOES_NOT_MATCH_CART
public static final ShippingMethodState MATCHES_CART
public static ShippingMethodState[] values()
for (ShippingMethodState c : ShippingMethodState.values()) System.out.println(c);
public static ShippingMethodState 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 ShippingMethodState ofSphereValue(String value)