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