Enum Class AccountStatus
- All Implemented Interfaces:
Serializable,Comparable<AccountStatus>,Constable
An enum representing the various possible account status values. Most likely, the account status is ACTIVE unless there is any problem. The account status may get in ACCOUNT_UPDATED when personal information is being updated from the dashboard, in which case you may not be allowed trading for a short period of time until the change is approved. - ONBOARDING The account is onboarding. - SUBMISSION_FAILED The account application submission failed for some reason. - SUBMITTED The account application has been submitted for review. - ACCOUNT_UPDATED The account information is being updated. - APPROVAL_PENDING The final account approval is pending. - ACTIVE The account is active for trading. - REJECTED The account application has been rejected.
-
Nested Class Summary
Nested ClassesNested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum Constants -
Method Summary
Modifier and TypeMethodDescriptionstatic AccountStatusgetValue()toString()static voidvalidateJsonElement(com.google.gson.JsonElement jsonElement) static AccountStatusReturns the enum constant of this class with the specified name.static AccountStatus[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
INACTIVE
-
PAPER_ONLY
-
ONBOARDING
-
SUBMISSION_FAILED
-
SUBMITTED
-
ACCOUNT_UPDATED
-
APPROVAL_PENDING
-
ACTIVE
-
REJECTED
-
ACCOUNT_CLOSED
-
APPROVED
-
ACCOUNT_CLOSED_PENDING
-
ACTION_REQUIRED
-
LIMITED
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (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 class has no constant with the specified nameNullPointerException- if the argument is null
-
getValue
-
toString
- Overrides:
toStringin classEnum<AccountStatus>
-
fromValue
-
validateJsonElement
- Throws:
IOException
-