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