public enum SubscriptionPlanStatus extends Enum<SubscriptionPlanStatus>
| Enum Constant and Description |
|---|
_UNKNOWN
Unknown values will be mapped by this enum member
|
ACTIVE
The plan is active.
|
CREATED
The plan was created.
|
INACTIVE
The plan is inactive.
|
| Modifier and Type | Method and Description |
|---|---|
static SubscriptionPlanStatus |
constructFromString(String toConvert)
Returns the enum member associated with the given string value.
|
static SubscriptionPlanStatus |
fromString(String toConvert)
Returns the enum member associated with the given string value.
|
String |
toString()
Get string representation of this enum.
|
static List<String> |
toValue(List<SubscriptionPlanStatus> toConvert)
Convert list of SubscriptionPlanStatus values to list of string values.
|
String |
value()
Returns the string value associated with the enum member.
|
static SubscriptionPlanStatus |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static SubscriptionPlanStatus[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final SubscriptionPlanStatus CREATED
public static final SubscriptionPlanStatus INACTIVE
public static final SubscriptionPlanStatus ACTIVE
public static final SubscriptionPlanStatus _UNKNOWN
public static SubscriptionPlanStatus[] values()
for (SubscriptionPlanStatus c : SubscriptionPlanStatus.values()) System.out.println(c);
public static SubscriptionPlanStatus 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 nullpublic static SubscriptionPlanStatus constructFromString(String toConvert) throws IOException
toConvert - String value to get enum member.IOException - when provided value is not mapped to any enum member.public static SubscriptionPlanStatus fromString(String toConvert)
toConvert - String value to get enum member.public String value()
public String toString()
toString in class Enum<SubscriptionPlanStatus>public static List<String> toValue(List<SubscriptionPlanStatus> toConvert)
toConvert - The list of SubscriptionPlanStatus values to convert.Copyright © 2026. All rights reserved.