com.chargebee.models
Enum Plan.ShippingFrequencyPeriodUnit
java.lang.Object
java.lang.Enum<Plan.ShippingFrequencyPeriodUnit>
com.chargebee.models.Plan.ShippingFrequencyPeriodUnit
- All Implemented Interfaces:
- Serializable, Comparable<Plan.ShippingFrequencyPeriodUnit>
- Enclosing class:
- Plan
public static enum Plan.ShippingFrequencyPeriodUnit
- extends Enum<Plan.ShippingFrequencyPeriodUnit>
YEAR
public static final Plan.ShippingFrequencyPeriodUnit YEAR
MONTH
public static final Plan.ShippingFrequencyPeriodUnit MONTH
WEEK
public static final Plan.ShippingFrequencyPeriodUnit WEEK
DAY
public static final Plan.ShippingFrequencyPeriodUnit DAY
_UNKNOWN
public static final Plan.ShippingFrequencyPeriodUnit _UNKNOWN
values
public static Plan.ShippingFrequencyPeriodUnit[] 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.ShippingFrequencyPeriodUnit c : Plan.ShippingFrequencyPeriodUnit.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.ShippingFrequencyPeriodUnit 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 © 2020 ChargeBee. All Rights Reserved.