Package org.knowm.xchange.dto.account
Enum FundingRecord.Status
- All Implemented Interfaces:
Serializable
,Comparable<FundingRecord.Status>
,java.lang.constant.Constable
- Enclosing class:
FundingRecord
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantDescriptionThe transfer was cancelled either by the user or by the exchange.The exchange has processed the transfer fully and successfully.The transfer has failed for any reason other than user cancellation after it was initiated and before it was successfully processed.The user has requested the withdrawal or deposit, or the exchange has detected an initiated deposit, but the exchange still has to fully process the funding. -
Method Summary
Modifier and TypeMethodDescriptionstatic FundingRecord.Status
resolveStatus
(String str) static FundingRecord.Status
Returns the enum constant of this type with the specified name.static FundingRecord.Status[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
Enum Constant Details
-
PROCESSING
The user has requested the withdrawal or deposit, or the exchange has detected an initiated deposit, but the exchange still has to fully process the funding. The funds are not available to the user. The funding request may possibly still be cancelled though. -
COMPLETE
The exchange has processed the transfer fully and successfully. The funding typically cannot be cancelled any more. For withdrawals, the funds are gone from the exchange, though they may have not reached their destination yet. For deposits, the funds are available to the user. -
CANCELLED
The transfer was cancelled either by the user or by the exchange. -
FAILED
The transfer has failed for any reason other than user cancellation after it was initiated and before it was successfully processed. For withdrawals, the funds are available to the user again.
-
-
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
-
resolveStatus
-