| Enum Constant and Description |
|---|
ALL |
AUDIENCE_ONLY |
CUSTOMER_WALLET |
PRODUCTS |
PRODUCTS_BY_CUSTOMER |
PRODUCTS_DISCOUNT |
PRODUCTS_DISCOUNT_BY_CUSTOMER |
PROMOTION_STACKS |
| Modifier and Type | Method and Description |
|---|---|
static Scenario |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static Scenario[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Scenario ALL
public static final Scenario CUSTOMER_WALLET
public static final Scenario AUDIENCE_ONLY
public static final Scenario PRODUCTS
public static final Scenario PRODUCTS_DISCOUNT
public static final Scenario PROMOTION_STACKS
public static final Scenario PRODUCTS_BY_CUSTOMER
public static final Scenario PRODUCTS_DISCOUNT_BY_CUSTOMER
public static Scenario[] values()
for (Scenario c : Scenario.values()) System.out.println(c);
public static Scenario valueOf(java.lang.String name)
name - the name of the enum constant to be returned.java.lang.IllegalArgumentException - if this enum type has no constant with the specified namejava.lang.NullPointerException - if the argument is null