public enum TradeState extends java.lang.Enum<TradeState>
| Modifier and Type | Method and Description |
|---|---|
static TradeState |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static TradeState[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
@SerializedName(value="SUCCESS") public static final TradeState SUCCESS
@SerializedName(value="ACCEPTED") public static final TradeState ACCEPTED
@SerializedName(value="PAY_FAIL") public static final TradeState PAY_FAIL
@SerializedName(value="REFUND") public static final TradeState REFUND
public static TradeState[] values()
for (TradeState c : TradeState.values()) System.out.println(c);
public static TradeState 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 null