public enum PurchasableState extends Enum<PurchasableState>
| Enum Constant and Description |
|---|
NOT_PURCHASABLE |
PURCHASABLE |
UNKNOWN_TO_SDK_VERSION |
| Modifier and Type | Method and Description |
|---|---|
static PurchasableState |
fromValue(String text) |
Object |
getValue() |
String |
toString() |
static PurchasableState |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static PurchasableState[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final PurchasableState PURCHASABLE
public static final PurchasableState NOT_PURCHASABLE
public static final PurchasableState UNKNOWN_TO_SDK_VERSION
public static PurchasableState[] values()
for (PurchasableState c : PurchasableState.values()) System.out.println(c);
public static PurchasableState 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 Object getValue()
public String toString()
toString in class Enum<PurchasableState>public static PurchasableState fromValue(String text)
Copyright © 2023. All rights reserved.