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