com.chargebee.models
Enum Plan.TrialPeriodUnit
java.lang.Object
java.lang.Enum<Plan.TrialPeriodUnit>
com.chargebee.models.Plan.TrialPeriodUnit
- All Implemented Interfaces:
- Serializable, Comparable<Plan.TrialPeriodUnit>
- Enclosing class:
- Plan
public static enum Plan.TrialPeriodUnit
- extends Enum<Plan.TrialPeriodUnit>
DAY
public static final Plan.TrialPeriodUnit DAY
MONTH
public static final Plan.TrialPeriodUnit MONTH
_UNKNOWN
public static final Plan.TrialPeriodUnit _UNKNOWN
values
public static Plan.TrialPeriodUnit[] values()
- Returns an array containing the constants of this enum type, in
the order they are declared. This method may be used to iterate
over the constants as follows:
for (Plan.TrialPeriodUnit c : Plan.TrialPeriodUnit.values())
System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in
the order they are declared
valueOf
public static Plan.TrialPeriodUnit valueOf(String name)
- Returns the enum constant of this type with the specified name.
The string must match exactly an identifier used to declare an
enum constant in this type. (Extraneous whitespace characters are
not permitted.)
- Parameters:
name - the name of the enum constant to be returned.
- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException - if this enum type has no constant
with the specified name
NullPointerException - if the argument is null
Copyright © 2015 ChargeBee. All Rights Reserved.