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