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