public static enum Coupon.FreeTrialUnit extends Enum<Coupon.FreeTrialUnit>
| Modifier and Type | Method and Description |
|---|---|
static Coupon.FreeTrialUnit |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Coupon.FreeTrialUnit[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Coupon.FreeTrialUnit day
public static final Coupon.FreeTrialUnit week
public static final Coupon.FreeTrialUnit month
public static Coupon.FreeTrialUnit[] values()
for (Coupon.FreeTrialUnit c : Coupon.FreeTrialUnit.values()) System.out.println(c);
public static Coupon.FreeTrialUnit 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 © 2012-2020. All Rights Reserved.