public enum ProductSelectionMode extends Enum<ProductSelectionMode>
Enum Constant and Description |
---|
INDIVIDUAL |
INDIVIDUAL_EXCLUSION |
Modifier and Type | Method and Description |
---|---|
String |
jsonValue() |
static ProductSelectionMode |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ProductSelectionMode[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ProductSelectionMode INDIVIDUAL
public static final ProductSelectionMode INDIVIDUAL_EXCLUSION
public static ProductSelectionMode[] values()
for (ProductSelectionMode c : ProductSelectionMode.values()) System.out.println(c);
public static ProductSelectionMode 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 String jsonValue()