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