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