public static enum AccountBalance.CurrencyEnum extends Enum<AccountBalance.CurrencyEnum>
| Modifier and Type | Class and Description |
|---|---|
static class |
AccountBalance.CurrencyEnum.Adapter |
| Modifier and Type | Method and Description |
|---|---|
static AccountBalance.CurrencyEnum |
fromValue(String value) |
String |
getValue() |
String |
toString() |
static AccountBalance.CurrencyEnum |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static AccountBalance.CurrencyEnum[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final AccountBalance.CurrencyEnum BTC
public static final AccountBalance.CurrencyEnum CNY
public static final AccountBalance.CurrencyEnum USD
public static final AccountBalance.CurrencyEnum USDT
public static AccountBalance.CurrencyEnum[] values()
for (AccountBalance.CurrencyEnum c : AccountBalance.CurrencyEnum.values()) System.out.println(c);
public static AccountBalance.CurrencyEnum valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant with the specified nameNullPointerException - if the argument is nullpublic String getValue()
public String toString()
toString in class Enum<AccountBalance.CurrencyEnum>public static AccountBalance.CurrencyEnum fromValue(String value)
Copyright © 2023. All rights reserved.