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