public enum ETradeOfferState extends java.lang.Enum<ETradeOfferState>
| Enum Constant and Description |
|---|
Accepted |
Active |
Canceled |
CanceledBySecondFactor |
Countered |
CreatedNeedsConfirmation |
Declined |
Expired |
InEscrow |
Invalid |
InvalidItems |
| Modifier and Type | Method and Description |
|---|---|
int |
code() |
static ETradeOfferState |
from(int code) |
static ETradeOfferState |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static ETradeOfferState[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ETradeOfferState Invalid
public static final ETradeOfferState Active
public static final ETradeOfferState Accepted
public static final ETradeOfferState Countered
public static final ETradeOfferState Expired
public static final ETradeOfferState Canceled
public static final ETradeOfferState Declined
public static final ETradeOfferState InvalidItems
public static final ETradeOfferState CreatedNeedsConfirmation
public static final ETradeOfferState CanceledBySecondFactor
public static final ETradeOfferState InEscrow
public static ETradeOfferState[] values()
for (ETradeOfferState c : ETradeOfferState.values()) System.out.println(c);
public static ETradeOfferState 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 int code()
public static ETradeOfferState from(int code)