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