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