Enum CoinfloorUserTransaction.TransactionType
- java.lang.Object
-
- java.lang.Enum<CoinfloorUserTransaction.TransactionType>
-
- org.knowm.xchange.coinfloor.dto.trade.CoinfloorUserTransaction.TransactionType
-
- All Implemented Interfaces:
Serializable
,Comparable<CoinfloorUserTransaction.TransactionType>
- Enclosing class:
- CoinfloorUserTransaction
public static enum CoinfloorUserTransaction.TransactionType extends Enum<CoinfloorUserTransaction.TransactionType>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description DEPOSIT
TRADE
UNKNOWN
WITHDRAWAL
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static CoinfloorUserTransaction.TransactionType
valueOf(String name)
Returns the enum constant of this type with the specified name.static CoinfloorUserTransaction.TransactionType[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
DEPOSIT
public static final CoinfloorUserTransaction.TransactionType DEPOSIT
-
WITHDRAWAL
public static final CoinfloorUserTransaction.TransactionType WITHDRAWAL
-
TRADE
public static final CoinfloorUserTransaction.TransactionType TRADE
-
UNKNOWN
public static final CoinfloorUserTransaction.TransactionType UNKNOWN
-
-
Method Detail
-
values
public static CoinfloorUserTransaction.TransactionType[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (CoinfloorUserTransaction.TransactionType c : CoinfloorUserTransaction.TransactionType.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static CoinfloorUserTransaction.TransactionType valueOf(String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name
- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is null
-
-