Package org.knowm.xchange.dto.account
Enum FundingRecord.Type
- All Implemented Interfaces:
Serializable
,Comparable<FundingRecord.Type>
,java.lang.constant.Constable
- Enclosing class:
FundingRecord
Enum representing funding transaction type
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantDescriptionUsed for transfers between exchanges accountsUsed for transfers between exchanges accountsUsed for inflows that are not a regular users deposit and are either different the inflows defined above or their nature could not have been deduced from the exchanges responseUsed for outflows that are not a regular users withdrawal and are either different the outflows defined above or their nature could not have been deduced from the exchanges responseUsed for realised losses from derivativesUsed for realised profits from derivatives -
Method Summary
Modifier and TypeMethodDescriptionstatic FundingRecord.Type
fromString
(String ledgerTypeString) boolean
boolean
static FundingRecord.Type
Returns the enum constant of this type with the specified name.static FundingRecord.Type[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
Enum Constant Details
-
WITHDRAWAL
-
DEPOSIT
-
AIRDROP
-
OTHER_INFLOW
Used for inflows that are not a regular users deposit and are either different the inflows defined above or their nature could not have been deduced from the exchanges response -
OTHER_OUTFLOW
Used for outflows that are not a regular users withdrawal and are either different the outflows defined above or their nature could not have been deduced from the exchanges response -
INTERNAL_WITHDRAWAL
Used for transfers between exchanges accounts -
INTERNAL_DEPOSIT
Used for transfers between exchanges accounts -
REALISED_LOSS
Used for realised losses from derivatives -
REALISED_PROFIT
Used for realised profits from derivatives
-
-
Method Details
-
values
Returns an array containing the constants of this enum type, in the order they are declared.- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
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
-
fromString
-
isInflowing
public boolean isInflowing() -
isOutflowing
public boolean isOutflowing()
-