public static enum Coupon.Status extends Enum<Coupon.Status>
Enum Constant and Description |
---|
_UNKNOWN |
ACTIVE |
ARCHIVED |
DELETED |
EXPIRED |
Modifier and Type | Method and Description |
---|---|
static Coupon.Status |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Coupon.Status[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Coupon.Status ACTIVE
public static final Coupon.Status EXPIRED
public static final Coupon.Status ARCHIVED
public static final Coupon.Status DELETED
public static final Coupon.Status _UNKNOWN
public static Coupon.Status[] values()
for (Coupon.Status c : Coupon.Status.values()) System.out.println(c);
public static Coupon.Status 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 © 2022 ChargeBee. All rights reserved.