public enum SkuName extends Enum<SkuName>
Enum Constant and Description |
---|
PREMIUM
Enum value premium.
|
STANDARD
Enum value standard.
|
Modifier and Type | Method and Description |
---|---|
static SkuName |
fromString(String value)
Parses a serialized value to a SkuName instance.
|
String |
toString() |
static SkuName |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static SkuName[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final SkuName STANDARD
public static final SkuName PREMIUM
public static SkuName[] values()
for (SkuName c : SkuName.values()) System.out.println(c);
public static SkuName 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 SkuName fromString(String value)
value
- the serialized value to parse.Copyright © 2019. All rights reserved.