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