public static enum Coupon.CouponTarget extends Enum<Coupon.CouponTarget>
| Enum Constant and Description |
|---|
account |
none |
subscription |
| Modifier and Type | Method and Description |
|---|---|
static Coupon.CouponTarget |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Coupon.CouponTarget[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Coupon.CouponTarget none
public static final Coupon.CouponTarget subscription
public static final Coupon.CouponTarget account
public static Coupon.CouponTarget[] values()
for (Coupon.CouponTarget c : Coupon.CouponTarget.values()) System.out.println(c);
public static Coupon.CouponTarget 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 nullCopyright © 2015 BillForward. All rights reserved.