public static enum SalesStats.Options extends java.lang.Enum<SalesStats.Options>
Enum Constant and Description |
---|
ITEM_SOLD_COBALT |
ITEM_SOLD_MINECRAFT |
ITEM_SOLD_SCROLLS |
PREPAID_CARD_REDEEMED_MINECRAFT |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
toString()
Returns the string version of this enum, to be used when querying the API.
|
static SalesStats.Options |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static SalesStats.Options[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final SalesStats.Options ITEM_SOLD_MINECRAFT
public static final SalesStats.Options PREPAID_CARD_REDEEMED_MINECRAFT
public static final SalesStats.Options ITEM_SOLD_COBALT
public static final SalesStats.Options ITEM_SOLD_SCROLLS
public static SalesStats.Options[] values()
for (SalesStats.Options c : SalesStats.Options.values()) System.out.println(c);
public static SalesStats.Options valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is nullpublic java.lang.String toString()
toString
in class java.lang.Enum<SalesStats.Options>