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