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