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