Class CurrencyDTO
- java.lang.Object
-
- tech.cassandre.trading.bot.dto.util.CurrencyDTO
-
public final class CurrencyDTO extends Object
Currency.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
CurrencyDTO.Builder
Builder.
-
Field Summary
Fields Modifier and Type Field Description static CurrencyDTO
_1ST
First Blood.static CurrencyDTO
ADA
Cardano.static CurrencyDTO
AED
United Arab Emirates Dirham.static CurrencyDTO
AFN
Afghan Afghani.static CurrencyDTO
ALL
Albanian Lek.static CurrencyDTO
AMD
Armenian Dram.static CurrencyDTO
ANC
Anoncoin.static CurrencyDTO
ANG
Netherlands Antillean Guilder.static CurrencyDTO
AOA
Angolan Kwanza.static CurrencyDTO
ARN
Aeron.static CurrencyDTO
ARS
Argentine Peso.static CurrencyDTO
ATOM
Cosmos.static CurrencyDTO
AUD
Australian Dollar.static CurrencyDTO
AUR
Auroracoin.static CurrencyDTO
AVT
Aventus.static CurrencyDTO
AWG
Aruban Florin.static CurrencyDTO
AZN
Azerbaijani Manat.static CurrencyDTO
BAM
Bosnia-Herzegovina Convertible Mark.static CurrencyDTO
BAT
Basic Attention Token.static CurrencyDTO
BBD
Barbadian Dollar.static CurrencyDTO
BC
BlackCoin.static CurrencyDTO
BCA
BitcoinAtom.static CurrencyDTO
BCC
BitConnect.static CurrencyDTO
BCH
BitcoinCash.static CurrencyDTO
BDT
Bangladeshi Taka.static CurrencyDTO
BGC
Aten 'Black Gold' Coin.static CurrencyDTO
BGN
Bulgarian Lev.static CurrencyDTO
BHD
Bahraini Dinar.static CurrencyDTO
BIF
Bahraini Dinar.static CurrencyDTO
BLK
BLK.static CurrencyDTO
BMD
Bermudan Dollar.static CurrencyDTO
BNB
Binance Coin.static CurrencyDTO
BND
Brunei Dollar.static CurrencyDTO
BNK
Bankera Coin.static CurrencyDTO
BOB
Bolivian Boliviano.static CurrencyDTO
BRL
Brazilian Real.static CurrencyDTO
BSD
Bahamian Dollar.static CurrencyDTO
BTC
Bitcoin.static CurrencyDTO
BTG
Bitcoin Gold.static CurrencyDTO
BTN
Bhutanese Ngultrum.static CurrencyDTO
BTS
Bitshare.static CurrencyDTO
BWP
Botswanan Pula.static CurrencyDTO
BYR
Belarusian Ruble.static CurrencyDTO
BZD
Belize Dollar.static CurrencyDTO
CAD
Canadian Dollar.static CurrencyDTO
CDF
Congolese Franc.static CurrencyDTO
CHF
Swiss Franc.static CurrencyDTO
CLF
Chilean Unit of Account (UF).static CurrencyDTO
CLP
Chilean Peso.static CurrencyDTO
CNC
Chinacoin.static CurrencyDTO
CND
Cindicator.static CurrencyDTO
CNY
Chinese Yuan.static CurrencyDTO
COP
Colombian Peso.static CurrencyDTO
CRC
Costa Rican Colón.static CurrencyDTO
CUP
Cuban Peso.static CurrencyDTO
CVE
Cape Verdean Escudo.static CurrencyDTO
CZK
Czech Republic Koruna.static CurrencyDTO
DASH
Dash.static CurrencyDTO
DCR
Decred.static CurrencyDTO
DGB
DigiByte.static CurrencyDTO
DGC
Digitalcoin.static CurrencyDTO
DJF
Djiboutian Franc.static CurrencyDTO
DKK
Danish Krone.static CurrencyDTO
DOGE
Dogecoin.static CurrencyDTO
DOP
Dominican Peso.static CurrencyDTO
DRK
Darkcoin.static CurrencyDTO
DVC
Devcoin.static CurrencyDTO
DZD
Algerian Dinar.static CurrencyDTO
EDO
Eidoo.static CurrencyDTO
EEK
Estonian Kroon.static CurrencyDTO
EGD
Egoldcoin.static CurrencyDTO
EGP
Egyptian Pound.static CurrencyDTO
ELF
aelf.static CurrencyDTO
EOS
EOS.static CurrencyDTO
ETB
Ethiopian Birr.static CurrencyDTO
ETC
Ether Classic.static CurrencyDTO
ETH
Ether.static CurrencyDTO
EUR
Euro.static CurrencyDTO
FJD
Fijian Dollar.static CurrencyDTO
FKP
Falkland Islands Pound.static CurrencyDTO
FTC
Feathercoin.static CurrencyDTO
FUN
FunFair.static CurrencyDTO
GBP
British Pound Sterling.static CurrencyDTO
GEL
Georgian Lari.static CurrencyDTO
GHs
Gigahashes per second.static CurrencyDTO
GHS
Ghanaian Cedi.static CurrencyDTO
GIP
Gibraltar Pound.static CurrencyDTO
GMD
Gambian Dalasi.static CurrencyDTO
GNF
Guinean Franc.static CurrencyDTO
GNO
Gnosis.static CurrencyDTO
GNT
Golem.static CurrencyDTO
GTQ
Guatemalan Quetzal.static CurrencyDTO
GVT
Genesis Vision.static CurrencyDTO
GYD
Guyanaese Dollar.static CurrencyDTO
H18
March 30th.static CurrencyDTO
H19
March 29th.static CurrencyDTO
HKD
Hong Kong Dollar.static CurrencyDTO
HNL
Honduran Lempira.static CurrencyDTO
HRK
Croatian Kuna.static CurrencyDTO
HSR
Hshare.static CurrencyDTO
HTG
Haitian Gourde.static CurrencyDTO
HUF
Hungarian Forint.static CurrencyDTO
HVN
Hive.static CurrencyDTO
ICN
Iconomi.static CurrencyDTO
ICX
Icon.static CurrencyDTO
IDR
Indonesian Rupiah.static CurrencyDTO
ILS
Israeli New Sheqel.static CurrencyDTO
INR
Indian Rupee.static CurrencyDTO
IOC
I/OCoin.static CurrencyDTO
IOT
IOTA.static CurrencyDTO
IOTA
Iota.static CurrencyDTO
IQD
Iraqi Dinar.static CurrencyDTO
IRR
Iranian Rial.static CurrencyDTO
ISK
Icelandic Króna.static CurrencyDTO
IXC
iXcoin.static CurrencyDTO
JEP
Jersey Pound.static CurrencyDTO
JMD
Jamaican Dollar.static CurrencyDTO
JOD
Jordanian Dinar.static CurrencyDTO
JPY
Japanese Yen.static CurrencyDTO
KCS
KuCoin Shares.static CurrencyDTO
KES
Kenyan Shilling.static CurrencyDTO
KGS
Kyrgystani Som.static CurrencyDTO
KHR
Cambodian Riel.static CurrencyDTO
KICK
KickCoin.static CurrencyDTO
KMF
Comorian Franc.static CurrencyDTO
KPW
North Korean Won.static CurrencyDTO
KRW
South Korean Won.static CurrencyDTO
KWD
Kuwaiti Dinar.static CurrencyDTO
KYD
Cayman Islands Dollar.static CurrencyDTO
KZT
Kazakhstani Tenge.static CurrencyDTO
LAK
Laotian Kip.static CurrencyDTO
LBP
Lebanese Pound.static CurrencyDTO
LEND
ETHLend.static CurrencyDTO
LKR
Sri Lankan Rupee.static CurrencyDTO
LRD
Liberian Dolla.static CurrencyDTO
LSK
Lebanese Pound.static CurrencyDTO
LSL
Lesotho Loti.static CurrencyDTO
LTC
Litecoin.static CurrencyDTO
LTL
Lithuanian Litas.static CurrencyDTO
LVL
Latvian Lats.static CurrencyDTO
LYD
Libyan Dinar.static CurrencyDTO
M18
June 29th.static CurrencyDTO
M19
June 28th.static CurrencyDTO
MAD
Moroccan Dirham.static CurrencyDTO
MCO
Monaco.static CurrencyDTO
MDL
Moldovan Leu.static CurrencyDTO
MEC
MegaCoin.static CurrencyDTO
MGA
Malagasy Ariary.static CurrencyDTO
MKD
Macedonian Denar.static CurrencyDTO
MLN
Melonport.static CurrencyDTO
MMK
Myanma Kyat.static CurrencyDTO
MNT
Mongolian Tugrik.static CurrencyDTO
MOD
Modum.static CurrencyDTO
MOP
Macanese Pataca.static CurrencyDTO
MRO
Mauritanian Ouguiya.static CurrencyDTO
MSC
Mason Coin.static CurrencyDTO
MUR
Mauritian Rupee.static CurrencyDTO
MVR
Maldivian Rufiyaa.static CurrencyDTO
MWK
Malawian Kwacha.static CurrencyDTO
MXN
Mexican Peso.static CurrencyDTO
MYR
Malaysian Ringgit.static CurrencyDTO
MZN
Mozambican Metical.static CurrencyDTO
NAD
Namibian Dollar.static CurrencyDTO
NEO
NEO.static CurrencyDTO
NGN
Nigerian Naira.static CurrencyDTO
NIO
Nicaraguan Córdoba.static CurrencyDTO
NMC
Namecoin.static CurrencyDTO
NOBS
No BS Crypto.static CurrencyDTO
NOK
Norwegian Krone.static CurrencyDTO
NPR
Nepalese Rupee.static CurrencyDTO
NVC
Novacoin.static CurrencyDTO
NXT
Nextcoin.static CurrencyDTO
NZD
New Zealand Dollar.static CurrencyDTO
OMG
OmiseGO.static CurrencyDTO
OMR
Omani Rial.static CurrencyDTO
PAB
Panamanian Balboa.static CurrencyDTO
PEN
Peruvian Nuevo Sol.static CurrencyDTO
PGK
Papua New Guinean Kina.static CurrencyDTO
PHP
Philippine Peso.static CurrencyDTO
PKR
Pakistani Rupee.static CurrencyDTO
PLN
Polish Zloty.static CurrencyDTO
POE
Po.et.static CurrencyDTO
POT
PotCoin.static CurrencyDTO
PPC
Peercoin.static CurrencyDTO
PYG
Paraguayan Guarani.static CurrencyDTO
QAR
Qatari Rial.static CurrencyDTO
QRK
QuarkCoin.static CurrencyDTO
QSP
Quantstamp.static CurrencyDTO
QTUM
Qtum.static CurrencyDTO
REP
Augur.static CurrencyDTO
RON
Romanian Leu.static CurrencyDTO
RSD
Serbian Dinar.static CurrencyDTO
RUB
Russian Ruble.static CurrencyDTO
RUR
Old Russian Ruble.static CurrencyDTO
RWF
Rwandan Franc.static CurrencyDTO
SAR
Saudi Riyal.static CurrencyDTO
SBC
Stablecoin.static CurrencyDTO
SBD
Solomon Islands Dollar.static CurrencyDTO
SC
Siacoin.static CurrencyDTO
SCR
Seychellois Rupee.static CurrencyDTO
SDG
Sudanese Pound.static CurrencyDTO
SEK
Swedish Krona.static CurrencyDTO
SGD
Singapore Dollar.static CurrencyDTO
SHP
Saint Helena Pound.static CurrencyDTO
SLL
Sierra Leonean Leone.static CurrencyDTO
SMART
SmartCash.static CurrencyDTO
SOS
Somali Shilling.static CurrencyDTO
SRD
Surinamese Dollar.static CurrencyDTO
START
Startcoin.static CurrencyDTO
STD
São Tomé and Príncipe Dobra.static CurrencyDTO
STEEM
Steem.static CurrencyDTO
STORJ
Storj.static CurrencyDTO
STR
Stellar.static CurrencyDTO
STRAT
Stratis.static CurrencyDTO
SVC
Salvadoran Colón.static CurrencyDTO
SYP
Syrian Pound.static CurrencyDTO
SZL
Swazi Lilangeni.static CurrencyDTO
THB
Thai Baht.static CurrencyDTO
TJS
Tajikistani Somoni.static CurrencyDTO
TMT
Turkmenistani Manat.static CurrencyDTO
TND
Tunisian Dinar.static CurrencyDTO
TOP
Tongan Paʻanga.static CurrencyDTO
TRC
Terracoin.static CurrencyDTO
TRX
Tron.static CurrencyDTO
TRY
Turkish Lira",.static CurrencyDTO
TTD
Trinidad and Tobago Dollar.static CurrencyDTO
TWD
New Taiwan Dollar.static CurrencyDTO
TZS
Tanzanian Shilling.static CurrencyDTO
U18
September 28th.static CurrencyDTO
UAH
Ukrainian Hryvnia.static CurrencyDTO
UGX
Ugandan Shilling.static CurrencyDTO
USD
United States Dollar.static CurrencyDTO
USDE
Unitary Status Dollar eCoin.static CurrencyDTO
USDT
Tether USD Anchor.static CurrencyDTO
UTC
Ultracoin.static CurrencyDTO
UYU
Uruguayan Peso.static CurrencyDTO
UZS
Uzbekistan Som.static CurrencyDTO
VEF
Venezuelan Bolívar.static CurrencyDTO
VEN
Hub Culture's Ven.static CurrencyDTO
VET
Hub Culture's Vet.static CurrencyDTO
VIB
Viberate.static CurrencyDTO
VND
Vietnamese Dong.static CurrencyDTO
VUV
Vanuatu Vatu.static CurrencyDTO
WDC
WorldCoin.static CurrencyDTO
WST
Samoan Tala.static CurrencyDTO
XAF
CFA Franc BEAC.static CurrencyDTO
XAS
Asch.static CurrencyDTO
XAUR
Xaurum.static CurrencyDTO
XBT
XBT.static CurrencyDTO
XCD
East Caribbean Dollar.static CurrencyDTO
XDC
XDC.static CurrencyDTO
XDG
XDG.static CurrencyDTO
XDR
Special Drawing Rights.static CurrencyDTO
XEM
NEM.static CurrencyDTO
XLM
Stellar Lumen.static CurrencyDTO
XLT
XLT.static CurrencyDTO
XMR
Monero.static CurrencyDTO
XOF
CFA Franc BCEAO.static CurrencyDTO
XPF
CFP Franc.static CurrencyDTO
XPM
Primecoin.static CurrencyDTO
XRB
Rai Blocks.static CurrencyDTO
XRP
Ripple.static CurrencyDTO
XTZ
Tezos.static CurrencyDTO
XVG
Verge.static CurrencyDTO
XVN
XVN.static CurrencyDTO
YBC
YbCoin.static CurrencyDTO
YER
Yemeni Rial.static CurrencyDTO
YOYO
Yoyow.static CurrencyDTO
Z18
December 28th.static CurrencyDTO
ZAR
South African Rand.static CurrencyDTO
ZEC
Zcash.static CurrencyDTO
ZEN
ZenCash.static CurrencyDTO
ZMK
Zambian Kwacha.static CurrencyDTO
ZRC
ziftrCOIN.static CurrencyDTO
ZWL
Zimbabwean Dollar.
-
Constructor Summary
Constructors Modifier Constructor Description protected
CurrencyDTO()
For builder.CurrencyDTO(String newCode)
Constructor.CurrencyDTO(CurrencyDTO.Builder builder)
Builder.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static CurrencyDTO.Builder
builder()
Returns builder.boolean
equals(Object obj)
static SortedSet<CurrencyDTO>
getAvailableCurrencies()
Gets the set of available currencies.static SortedSet<String>
getAvailableCurrencyCodes()
Gets the set of available currency codes.String
getCode()
Getter for code.CurrencyDTO
getCodeCurrency(String newCode)
Gets the equivalent object with the passed code.CurrencyDTO
getCommonlyUsedCurrency()
Gets the equivalent object that was created with the "commonly used" code.String
getCurrencyCode()
Get currency code.Set<String>
getCurrencyCodes()
Gets the set of all currency codes associated with this currency.String
getDisplayName()
Gets the name that is suitable for displaying this currency.static CurrencyDTO
getInstance(String currencyCode)
Returns a Currency instance for the given currency code.static CurrencyDTO
getInstanceNoCreate(String currencyCode)
Returns a Currency instance for the given currency code.CurrencyDTO
getIso4217Currency()
Gets the equivalent object with an ISO 4217 code, or if none a code which looks ISO compatible (starts with an X), or the constructed currency code if neither exist.String
getSymbol()
Gets the unicode symbol of this currency.int
hashCode()
String
toString()
-
-
-
Field Detail
-
AED
public static final CurrencyDTO AED
United Arab Emirates Dirham.
-
AFN
public static final CurrencyDTO AFN
Afghan Afghani.
-
ALL
public static final CurrencyDTO ALL
Albanian Lek.
-
AMD
public static final CurrencyDTO AMD
Armenian Dram.
-
ANC
public static final CurrencyDTO ANC
Anoncoin.
-
ANG
public static final CurrencyDTO ANG
Netherlands Antillean Guilder.
-
AOA
public static final CurrencyDTO AOA
Angolan Kwanza.
-
ARN
public static final CurrencyDTO ARN
Aeron.
-
ARS
public static final CurrencyDTO ARS
Argentine Peso.
-
ATOM
public static final CurrencyDTO ATOM
Cosmos.
-
AUD
public static final CurrencyDTO AUD
Australian Dollar.
-
AUR
public static final CurrencyDTO AUR
Auroracoin.
-
AVT
public static final CurrencyDTO AVT
Aventus.
-
AWG
public static final CurrencyDTO AWG
Aruban Florin.
-
AZN
public static final CurrencyDTO AZN
Azerbaijani Manat.
-
BAM
public static final CurrencyDTO BAM
Bosnia-Herzegovina Convertible Mark.
-
BAT
public static final CurrencyDTO BAT
Basic Attention Token.
-
BBD
public static final CurrencyDTO BBD
Barbadian Dollar.
-
BC
public static final CurrencyDTO BC
BlackCoin.
-
BCC
public static final CurrencyDTO BCC
BitConnect.
-
BCH
public static final CurrencyDTO BCH
BitcoinCash.
-
BCA
public static final CurrencyDTO BCA
BitcoinAtom.
-
BLK
public static final CurrencyDTO BLK
BLK.
-
BDT
public static final CurrencyDTO BDT
Bangladeshi Taka.
-
BGC
public static final CurrencyDTO BGC
Aten 'Black Gold' Coin.
-
BGN
public static final CurrencyDTO BGN
Bulgarian Lev.
-
BHD
public static final CurrencyDTO BHD
Bahraini Dinar.
-
BIF
public static final CurrencyDTO BIF
Bahraini Dinar.
-
BMD
public static final CurrencyDTO BMD
Bermudan Dollar.
-
BND
public static final CurrencyDTO BND
Brunei Dollar.
-
BOB
public static final CurrencyDTO BOB
Bolivian Boliviano.
-
BRL
public static final CurrencyDTO BRL
Brazilian Real.
-
BSD
public static final CurrencyDTO BSD
Bahamian Dollar.
-
BTC
public static final CurrencyDTO BTC
Bitcoin.
-
BTG
public static final CurrencyDTO BTG
Bitcoin Gold.
-
XBT
public static final CurrencyDTO XBT
XBT.
-
BTN
public static final CurrencyDTO BTN
Bhutanese Ngultrum.
-
BWP
public static final CurrencyDTO BWP
Botswanan Pula.
-
BYR
public static final CurrencyDTO BYR
Belarusian Ruble.
-
BZD
public static final CurrencyDTO BZD
Belize Dollar.
-
CAD
public static final CurrencyDTO CAD
Canadian Dollar.
-
CDF
public static final CurrencyDTO CDF
Congolese Franc.
-
CHF
public static final CurrencyDTO CHF
Swiss Franc.
-
CLF
public static final CurrencyDTO CLF
Chilean Unit of Account (UF).
-
CLP
public static final CurrencyDTO CLP
Chilean Peso.
-
CNC
public static final CurrencyDTO CNC
Chinacoin.
-
CNY
public static final CurrencyDTO CNY
Chinese Yuan.
-
COP
public static final CurrencyDTO COP
Colombian Peso.
-
CRC
public static final CurrencyDTO CRC
Costa Rican Colón.
-
CUP
public static final CurrencyDTO CUP
Cuban Peso.
-
CVE
public static final CurrencyDTO CVE
Cape Verdean Escudo.
-
CZK
public static final CurrencyDTO CZK
Czech Republic Koruna.
-
DASH
public static final CurrencyDTO DASH
Dash.
-
DCR
public static final CurrencyDTO DCR
Decred.
-
DGB
public static final CurrencyDTO DGB
DigiByte.
-
DJF
public static final CurrencyDTO DJF
Djiboutian Franc.
-
DKK
public static final CurrencyDTO DKK
Danish Krone.
-
DOGE
public static final CurrencyDTO DOGE
Dogecoin.
-
XDC
public static final CurrencyDTO XDC
XDC.
-
XDG
public static final CurrencyDTO XDG
XDG.
-
DOP
public static final CurrencyDTO DOP
Dominican Peso.
-
DGC
public static final CurrencyDTO DGC
Digitalcoin.
-
DVC
public static final CurrencyDTO DVC
Devcoin.
-
DRK
public static final CurrencyDTO DRK
Darkcoin.
-
DZD
public static final CurrencyDTO DZD
Algerian Dinar.
-
EDO
public static final CurrencyDTO EDO
Eidoo.
-
EEK
public static final CurrencyDTO EEK
Estonian Kroon.
-
EGD
public static final CurrencyDTO EGD
Egoldcoin.
-
EGP
public static final CurrencyDTO EGP
Egyptian Pound.
-
EOS
public static final CurrencyDTO EOS
EOS.
-
ETB
public static final CurrencyDTO ETB
Ethiopian Birr.
-
ETC
public static final CurrencyDTO ETC
Ether Classic.
-
ETH
public static final CurrencyDTO ETH
Ether.
-
EUR
public static final CurrencyDTO EUR
Euro.
-
FJD
public static final CurrencyDTO FJD
Fijian Dollar.
-
_1ST
public static final CurrencyDTO _1ST
First Blood.
-
FKP
public static final CurrencyDTO FKP
Falkland Islands Pound.
-
FTC
public static final CurrencyDTO FTC
Feathercoin.
-
GBP
public static final CurrencyDTO GBP
British Pound Sterling.
-
GEL
public static final CurrencyDTO GEL
Georgian Lari.
-
GHS
public static final CurrencyDTO GHS
Ghanaian Cedi.
-
GHs
public static final CurrencyDTO GHs
Gigahashes per second.
-
GIP
public static final CurrencyDTO GIP
Gibraltar Pound.
-
GMD
public static final CurrencyDTO GMD
Gambian Dalasi.
-
GNF
public static final CurrencyDTO GNF
Guinean Franc.
-
GNO
public static final CurrencyDTO GNO
Gnosis.
-
GNT
public static final CurrencyDTO GNT
Golem.
-
GTQ
public static final CurrencyDTO GTQ
Guatemalan Quetzal.
-
GVT
public static final CurrencyDTO GVT
Genesis Vision.
-
GYD
public static final CurrencyDTO GYD
Guyanaese Dollar.
-
HKD
public static final CurrencyDTO HKD
Hong Kong Dollar.
-
HVN
public static final CurrencyDTO HVN
Hive.
-
HNL
public static final CurrencyDTO HNL
Honduran Lempira.
-
HRK
public static final CurrencyDTO HRK
Croatian Kuna.
-
HTG
public static final CurrencyDTO HTG
Haitian Gourde.
-
HUF
public static final CurrencyDTO HUF
Hungarian Forint.
-
ICN
public static final CurrencyDTO ICN
Iconomi.
-
IDR
public static final CurrencyDTO IDR
Indonesian Rupiah.
-
ILS
public static final CurrencyDTO ILS
Israeli New Sheqel.
-
INR
public static final CurrencyDTO INR
Indian Rupee.
-
IOC
public static final CurrencyDTO IOC
I/OCoin.
-
IOT
public static final CurrencyDTO IOT
IOTA.
-
IQD
public static final CurrencyDTO IQD
Iraqi Dinar.
-
IRR
public static final CurrencyDTO IRR
Iranian Rial.
-
ISK
public static final CurrencyDTO ISK
Icelandic Króna.
-
IXC
public static final CurrencyDTO IXC
iXcoin.
-
JEP
public static final CurrencyDTO JEP
Jersey Pound.
-
JMD
public static final CurrencyDTO JMD
Jamaican Dollar.
-
JOD
public static final CurrencyDTO JOD
Jordanian Dinar.
-
JPY
public static final CurrencyDTO JPY
Japanese Yen.
-
KCS
public static final CurrencyDTO KCS
KuCoin Shares.
-
KES
public static final CurrencyDTO KES
Kenyan Shilling.
-
KGS
public static final CurrencyDTO KGS
Kyrgystani Som.
-
KHR
public static final CurrencyDTO KHR
Cambodian Riel.
-
KICK
public static final CurrencyDTO KICK
KickCoin.
-
KMF
public static final CurrencyDTO KMF
Comorian Franc.
-
KPW
public static final CurrencyDTO KPW
North Korean Won.
-
KRW
public static final CurrencyDTO KRW
South Korean Won.
-
KWD
public static final CurrencyDTO KWD
Kuwaiti Dinar.
-
KYD
public static final CurrencyDTO KYD
Cayman Islands Dollar.
-
KZT
public static final CurrencyDTO KZT
Kazakhstani Tenge.
-
LAK
public static final CurrencyDTO LAK
Laotian Kip.
-
LBP
public static final CurrencyDTO LBP
Lebanese Pound.
-
LSK
public static final CurrencyDTO LSK
Lebanese Pound.
-
LKR
public static final CurrencyDTO LKR
Sri Lankan Rupee.
-
LRD
public static final CurrencyDTO LRD
Liberian Dolla.
-
LSL
public static final CurrencyDTO LSL
Lesotho Loti.
-
LTC
public static final CurrencyDTO LTC
Litecoin.
-
XLT
public static final CurrencyDTO XLT
XLT.
-
LTL
public static final CurrencyDTO LTL
Lithuanian Litas.
-
LVL
public static final CurrencyDTO LVL
Latvian Lats.
-
LYD
public static final CurrencyDTO LYD
Libyan Dinar.
-
MAD
public static final CurrencyDTO MAD
Moroccan Dirham.
-
MDL
public static final CurrencyDTO MDL
Moldovan Leu.
-
MEC
public static final CurrencyDTO MEC
MegaCoin.
-
MGA
public static final CurrencyDTO MGA
Malagasy Ariary.
-
MKD
public static final CurrencyDTO MKD
Macedonian Denar.
-
MLN
public static final CurrencyDTO MLN
Melonport.
-
MMK
public static final CurrencyDTO MMK
Myanma Kyat.
-
MNT
public static final CurrencyDTO MNT
Mongolian Tugrik.
-
MOP
public static final CurrencyDTO MOP
Macanese Pataca.
-
MRO
public static final CurrencyDTO MRO
Mauritanian Ouguiya.
-
MSC
public static final CurrencyDTO MSC
Mason Coin.
-
MUR
public static final CurrencyDTO MUR
Mauritian Rupee.
-
MVR
public static final CurrencyDTO MVR
Maldivian Rufiyaa.
-
MWK
public static final CurrencyDTO MWK
Malawian Kwacha.
-
MXN
public static final CurrencyDTO MXN
Mexican Peso.
-
MYR
public static final CurrencyDTO MYR
Malaysian Ringgit.
-
MZN
public static final CurrencyDTO MZN
Mozambican Metical.
-
NAD
public static final CurrencyDTO NAD
Namibian Dollar.
-
NOBS
public static final CurrencyDTO NOBS
No BS Crypto.
-
NEO
public static final CurrencyDTO NEO
NEO.
-
NGN
public static final CurrencyDTO NGN
Nigerian Naira.
-
NIO
public static final CurrencyDTO NIO
Nicaraguan Córdoba.
-
NMC
public static final CurrencyDTO NMC
Namecoin.
-
NOK
public static final CurrencyDTO NOK
Norwegian Krone.
-
NPR
public static final CurrencyDTO NPR
Nepalese Rupee.
-
NVC
public static final CurrencyDTO NVC
Novacoin.
-
NXT
public static final CurrencyDTO NXT
Nextcoin.
-
NZD
public static final CurrencyDTO NZD
New Zealand Dollar.
-
OMG
public static final CurrencyDTO OMG
OmiseGO.
-
OMR
public static final CurrencyDTO OMR
Omani Rial.
-
PAB
public static final CurrencyDTO PAB
Panamanian Balboa.
-
PEN
public static final CurrencyDTO PEN
Peruvian Nuevo Sol.
-
PGK
public static final CurrencyDTO PGK
Papua New Guinean Kina.
-
PHP
public static final CurrencyDTO PHP
Philippine Peso.
-
PKR
public static final CurrencyDTO PKR
Pakistani Rupee.
-
PLN
public static final CurrencyDTO PLN
Polish Zloty.
-
POT
public static final CurrencyDTO POT
PotCoin.
-
PPC
public static final CurrencyDTO PPC
Peercoin.
-
PYG
public static final CurrencyDTO PYG
Paraguayan Guarani.
-
QAR
public static final CurrencyDTO QAR
Qatari Rial.
-
QRK
public static final CurrencyDTO QRK
QuarkCoin.
-
QTUM
public static final CurrencyDTO QTUM
Qtum.
-
REP
public static final CurrencyDTO REP
Augur.
-
RON
public static final CurrencyDTO RON
Romanian Leu.
-
RSD
public static final CurrencyDTO RSD
Serbian Dinar.
-
RUB
public static final CurrencyDTO RUB
Russian Ruble.
-
RUR
public static final CurrencyDTO RUR
Old Russian Ruble.
-
RWF
public static final CurrencyDTO RWF
Rwandan Franc.
-
SAR
public static final CurrencyDTO SAR
Saudi Riyal.
-
SBC
public static final CurrencyDTO SBC
Stablecoin.
-
SBD
public static final CurrencyDTO SBD
Solomon Islands Dollar.
-
SC
public static final CurrencyDTO SC
Siacoin.
-
SCR
public static final CurrencyDTO SCR
Seychellois Rupee.
-
SDG
public static final CurrencyDTO SDG
Sudanese Pound.
-
SEK
public static final CurrencyDTO SEK
Swedish Krona.
-
SGD
public static final CurrencyDTO SGD
Singapore Dollar.
-
SHP
public static final CurrencyDTO SHP
Saint Helena Pound.
-
SLL
public static final CurrencyDTO SLL
Sierra Leonean Leone.
-
SMART
public static final CurrencyDTO SMART
SmartCash.
-
SOS
public static final CurrencyDTO SOS
Somali Shilling.
-
SRD
public static final CurrencyDTO SRD
Surinamese Dollar.
-
START
public static final CurrencyDTO START
Startcoin.
-
STEEM
public static final CurrencyDTO STEEM
Steem.
-
STD
public static final CurrencyDTO STD
São Tomé and Príncipe Dobra.
-
STR
public static final CurrencyDTO STR
Stellar.
-
STRAT
public static final CurrencyDTO STRAT
Stratis.
-
SVC
public static final CurrencyDTO SVC
Salvadoran Colón.
-
SYP
public static final CurrencyDTO SYP
Syrian Pound.
-
SZL
public static final CurrencyDTO SZL
Swazi Lilangeni.
-
THB
public static final CurrencyDTO THB
Thai Baht.
-
TJS
public static final CurrencyDTO TJS
Tajikistani Somoni.
-
TMT
public static final CurrencyDTO TMT
Turkmenistani Manat.
-
TND
public static final CurrencyDTO TND
Tunisian Dinar.
-
TOP
public static final CurrencyDTO TOP
Tongan Paʻanga.
-
TRC
public static final CurrencyDTO TRC
Terracoin.
-
TRY
public static final CurrencyDTO TRY
Turkish Lira",.
-
TTD
public static final CurrencyDTO TTD
Trinidad and Tobago Dollar.
-
TWD
public static final CurrencyDTO TWD
New Taiwan Dollar.
-
TZS
public static final CurrencyDTO TZS
Tanzanian Shilling.
-
UAH
public static final CurrencyDTO UAH
Ukrainian Hryvnia.
-
UGX
public static final CurrencyDTO UGX
Ugandan Shilling.
-
USD
public static final CurrencyDTO USD
United States Dollar.
-
USDT
public static final CurrencyDTO USDT
Tether USD Anchor.
-
USDE
public static final CurrencyDTO USDE
Unitary Status Dollar eCoin.
-
UTC
public static final CurrencyDTO UTC
Ultracoin.
-
UYU
public static final CurrencyDTO UYU
Uruguayan Peso.
-
UZS
public static final CurrencyDTO UZS
Uzbekistan Som.
-
VEF
public static final CurrencyDTO VEF
Venezuelan Bolívar.
-
VET
public static final CurrencyDTO VET
Hub Culture's Vet.
-
VEN
public static final CurrencyDTO VEN
Hub Culture's Ven.
-
XTZ
public static final CurrencyDTO XTZ
Tezos.
-
XVN
public static final CurrencyDTO XVN
XVN.
-
VIB
public static final CurrencyDTO VIB
Viberate.
-
VND
public static final CurrencyDTO VND
Vietnamese Dong.
-
VUV
public static final CurrencyDTO VUV
Vanuatu Vatu.
-
WDC
public static final CurrencyDTO WDC
WorldCoin.
-
WST
public static final CurrencyDTO WST
Samoan Tala.
-
XAF
public static final CurrencyDTO XAF
CFA Franc BEAC.
-
XAS
public static final CurrencyDTO XAS
Asch.
-
XAUR
public static final CurrencyDTO XAUR
Xaurum.
-
XCD
public static final CurrencyDTO XCD
East Caribbean Dollar.
-
XDR
public static final CurrencyDTO XDR
Special Drawing Rights.
-
XEM
public static final CurrencyDTO XEM
NEM.
-
XLM
public static final CurrencyDTO XLM
Stellar Lumen.
-
XMR
public static final CurrencyDTO XMR
Monero.
-
XRB
public static final CurrencyDTO XRB
Rai Blocks.
-
XOF
public static final CurrencyDTO XOF
CFA Franc BCEAO.
-
XPF
public static final CurrencyDTO XPF
CFP Franc.
-
XPM
public static final CurrencyDTO XPM
Primecoin.
-
XRP
public static final CurrencyDTO XRP
Ripple.
-
YBC
public static final CurrencyDTO YBC
YbCoin.
-
YER
public static final CurrencyDTO YER
Yemeni Rial.
-
ZAR
public static final CurrencyDTO ZAR
South African Rand.
-
ZEC
public static final CurrencyDTO ZEC
Zcash.
-
ZEN
public static final CurrencyDTO ZEN
ZenCash.
-
ZMK
public static final CurrencyDTO ZMK
Zambian Kwacha.
-
ZRC
public static final CurrencyDTO ZRC
ziftrCOIN.
-
ZWL
public static final CurrencyDTO ZWL
Zimbabwean Dollar.
-
H18
public static final CurrencyDTO H18
March 30th.
-
M18
public static final CurrencyDTO M18
June 29th.
-
U18
public static final CurrencyDTO U18
September 28th.
-
Z18
public static final CurrencyDTO Z18
December 28th.
-
H19
public static final CurrencyDTO H19
March 29th.
-
M19
public static final CurrencyDTO M19
June 28th.
-
BNK
public static final CurrencyDTO BNK
Bankera Coin.
-
BNB
public static final CurrencyDTO BNB
Binance Coin.
-
QSP
public static final CurrencyDTO QSP
Quantstamp.
-
IOTA
public static final CurrencyDTO IOTA
Iota.
-
YOYO
public static final CurrencyDTO YOYO
Yoyow.
-
BTS
public static final CurrencyDTO BTS
Bitshare.
-
ICX
public static final CurrencyDTO ICX
Icon.
-
MCO
public static final CurrencyDTO MCO
Monaco.
-
CND
public static final CurrencyDTO CND
Cindicator.
-
XVG
public static final CurrencyDTO XVG
Verge.
-
POE
public static final CurrencyDTO POE
Po.et.
-
TRX
public static final CurrencyDTO TRX
Tron.
-
ADA
public static final CurrencyDTO ADA
Cardano.
-
FUN
public static final CurrencyDTO FUN
FunFair.
-
HSR
public static final CurrencyDTO HSR
Hshare.
-
LEND
public static final CurrencyDTO LEND
ETHLend.
-
ELF
public static final CurrencyDTO ELF
aelf.
-
STORJ
public static final CurrencyDTO STORJ
Storj.
-
MOD
public static final CurrencyDTO MOD
Modum.
-
-
Constructor Detail
-
CurrencyDTO
public CurrencyDTO(String newCode)
Constructor.- Parameters:
newCode
- currency code
-
CurrencyDTO
public CurrencyDTO(CurrencyDTO.Builder builder)
Builder.- Parameters:
builder
- builder
-
CurrencyDTO
protected CurrencyDTO()
For builder.
-
-
Method Detail
-
getAvailableCurrencies
public static SortedSet<CurrencyDTO> getAvailableCurrencies()
Gets the set of available currencies.- Returns:
- available currencies
-
getAvailableCurrencyCodes
public static SortedSet<String> getAvailableCurrencyCodes()
Gets the set of available currency codes.- Returns:
- currency codes
-
getInstance
public static CurrencyDTO getInstance(String currencyCode)
Returns a Currency instance for the given currency code.- Parameters:
currencyCode
- currency code- Returns:
- currency
-
getInstanceNoCreate
public static CurrencyDTO getInstanceNoCreate(String currencyCode)
Returns a Currency instance for the given currency code.- Parameters:
currencyCode
- currency code- Returns:
- currency
-
getCurrencyCode
public String getCurrencyCode()
Get currency code.- Returns:
- currency code
-
getCodeCurrency
public CurrencyDTO getCodeCurrency(String newCode)
Gets the equivalent object with the passed code.This is useful in case some currencies share codes, such that
getInstance(String)
may return the wrong currency.- Parameters:
newCode
- The code the returned object will evaluate to- Returns:
- A Currency representing the same currency but having the passed currency code
-
getIso4217Currency
public CurrencyDTO getIso4217Currency()
Gets the equivalent object with an ISO 4217 code, or if none a code which looks ISO compatible (starts with an X), or the constructed currency code if neither exist.- Returns:
- currency
-
getCommonlyUsedCurrency
public CurrencyDTO getCommonlyUsedCurrency()
Gets the equivalent object that was created with the "commonly used" code.- Returns:
- currency
-
getCurrencyCodes
public Set<String> getCurrencyCodes()
Gets the set of all currency codes associated with this currency.- Returns:
- currency
-
getSymbol
public String getSymbol()
Gets the unicode symbol of this currency.- Returns:
- unicode
-
getCode
public String getCode()
Getter for code.- Returns:
- code
-
getDisplayName
public String getDisplayName()
Gets the name that is suitable for displaying this currency.- Returns:
- display name
-
builder
public static CurrencyDTO.Builder builder()
Returns builder.- Returns:
- builder
-
-