Enum SubscriptionPlan
- All Implemented Interfaces:
Serializable, Comparable<SubscriptionPlan>, java.lang.constant.Constable
An enumeration with all available subscription plans.
More information at official website.
-
Nested Class Summary
Nested classes/interfaces inherited from class Enum
Enum.EnumDesc<E> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionAll existing subscription plans.Developer subscription plan.Enterprise subscription plan.Free subscription plan.Professional subscription plan.Special subscription cases.Startup subscription plan. -
Method Summary
Modifier and TypeMethodDescriptionstatic SubscriptionPlanReturns the enum constant of this type with the specified name.static SubscriptionPlan[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
Enum Constant Details
-
FREE
Free subscription plan. -
STARTUP
Startup subscription plan. -
DEVELOPER
Developer subscription plan. -
PROFESSIONAL
Professional subscription plan. -
ENTERPRISE
Enterprise subscription plan. -
ALL
All existing subscription plans. -
SPECIAL
Special subscription cases.
-
-
Method Details
-
values
Returns an array containing the constants of this enum type, in the order they are declared.- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
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 nameNullPointerException- if the argument is null
-