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