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