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