Enum Currency

    • Enum Constant Summary

      Enum Constants 
      Enum Constant Description
      AED
      UAE Dirham.
      AFN
      Afghani.
      ALL
      Lek.
      AMD
      Armenian Dram.
      ANG
      Netherlands Antillean Guilder.
      AOA
      Kwanza.
      ARS
      Argentine Peso.
      AUD
      Australian Dollar.
      AWG
      Aruban Florin.
      AZN
      Azerbaijanian Manat.
      BAM
      Convertible Mark.
      BBD
      Barbados Dollar.
      BDT
      Taka.
      BGN
      Bulgarian Lev.
      BHD
      Bahraini Dinar.
      BIF
      Burundi Franc.
      BMD
      Bermudian Dollar.
      BND
      Brunei Dollar.
      BOB
      Boliviano.
      BOV
      Mvdol.
      BRL
      Brazilian Real.
      BSD
      Bahamian Dollar.
      BTN
      Ngultrum.
      BWP
      Pula.
      BYN
      Belarusian Ruble.
      BYR
      Belarusian Ruble.
      BZD
      Belize Dollar.
      CAD
      Canadian Dollar.
      CDF
      Congolese Franc.
      CHE
      WIR Euro.
      CHF
      Swiss Franc.
      CHW
      WIR Franc.
      CLF
      Unidad de Fomento.
      CLP
      Chilean Peso.
      CNY
      Yuan Renminbi.
      COP
      Colombian Peso.
      COU
      Unidad de Valor Real.
      CRC
      Costa Rican Colon.
      CUC
      Peso Convertible.
      CUP
      Cuban Peso.
      CVE
      Cabo Verde Escudo.
      CZK
      Czech Koruna.
      DJF
      Djibouti Franc.
      DKK
      Danish Krone.
      DOP
      Dominican Peso.
      DZD
      Algerian Dinar.
      EGP
      Egyptian Pound.
      ERN
      Nakfa.
      ETB
      Ethiopian Birr.
      EUR
      Euro.
      FJD
      Fiji Dollar.
      FKP
      Falkland Islands Pound.
      GBP
      Pound Sterling.
      GEL
      Lari.
      GHS
      Ghana Cedi.
      GIP
      Gibraltar Pound.
      GMD
      Dalasi.
      GNF
      Guinea Franc.
      GTQ
      Quetzal.
      GYD
      Guyana Dollar.
      HKD
      Hong Kong Dollar.
      HNL
      Lempira.
      HRK
      Kuna.
      HTG
      Gourde.
      HUF
      Forint.
      IDR
      Rupiah.
      ILS
      New Israeli Sheqel.
      INR
      Indian Rupee.
      IQD
      Iraqi Dinar.
      IRR
      Iranian Rial.
      ISK
      Iceland Krona.
      JMD
      Jamaican Dollar.
      JOD
      Jordanian Dinar.
      JPY
      Yen.
      KES
      Kenyan Shilling.
      KGS
      Som.
      KHR
      Riel.
      KMF
      Comoro Franc.
      KPW
      North Korean Won.
      KRW
      Won.
      KWD
      Kuwaiti Dinar.
      KYD
      Cayman Islands Dollar.
      KZT
      Tenge.
      LAK
      Kip.
      LBP
      Lebanese Pound.
      LKR
      Sri Lanka Rupee.
      LRD
      Liberian Dollar.
      LSL
      Loti.
      LYD
      Libyan Dinar.
      MAD
      Moroccan Dirham.
      MDL
      Moldovan Leu.
      MGA
      Malagasy Ariary.
      MKD
      Denar.
      MMK
      Kyat.
      MNT
      Tugrik.
      MOP
      Pataca.
      MRO
      Ouguiya.
      MUR
      Mauritius Rupee.
      MVR
      Rufiyaa.
      MWK
      Malawi Kwacha.
      MXN
      Mexican Peso.
      MXV
      Mexican Unidad de Inversion (UDI).
      MYR
      Malaysian Ringgit.
      MZN
      Mozambique Metical.
      NAD
      Namibia Dollar.
      NGN
      Naira.
      NIO
      Cordoba Oro.
      NOK
      Norwegian Krone.
      NPR
      Nepalese Rupee.
      NZD
      New Zealand Dollar.
      OMR
      Rial Omani.
      PAB
      Balboa.
      PEN
      Sol.
      PGK
      Kina.
      PHP
      Philippine Peso.
      PKR
      Pakistan Rupee.
      PLN
      Zloty.
      PTS
      VM Loyalty.
      PYG
      Guarani.
      QAR
      Qatari Rial.
      RON
      Romanian Leu.
      RSD
      Serbian Dinar.
      RUB
      Russian Ruble.
      RWF
      Rwanda Franc.
      SAR
      Saudi Riyal.
      SBD
      Solomon Islands Dollar.
      SCR
      Seychelles Rupee.
      SDG
      Sudanese Pound.
      SEK
      Swedish Krona.
      SGD
      Singapore Dollar.
      SHP
      Saint Helena Pound.
      SLL
      Leone.
      SOS
      Somali Shilling.
      SRD
      Surinam Dollar.
      SSP
      South Sudanese Pound.
      STD
      Dobra.
      SVC
      El Salvador Colon.
      SYP
      Syrian Pound.
      SZL
      Lilangeni.
      THB
      Baht.
      TJS
      Somoni.
      TMT
      Turkmenistan New Manat.
      TND
      Tunisian Dinar.
      TOP
      Pa’anga.
      TRY
      Turkish Lira.
      TTD
      Trinidad and Tobago Dollar.
      TWD
      New Taiwan Dollar.
      TZS
      Tanzanian Shilling.
      UAH
      Hryvnia.
      UGX
      Uganda Shilling.
      USD
      US Dollar.
      USN
      US Dollar (Next day).
      UYI
      Uruguay Peso en Unidades Indexadas (URUIURUI).
      UYU
      Peso Uruguayo.
      UZS
      Uzbekistan Sum.
      VEF
      Bolívar.
      VND
      Dong.
      VUV
      Vatu.
      WST
      Tala.
      XAF
      CFA Franc BEAC.
      XAG
      Silver.
      XAU
      Gold.
      XBA
      Bond Markets Unit European Composite Unit (EURCO).
      XBB
      Bond Markets Unit European Monetary Unit (E.M.U.-6).
      XBC
      Bond Markets Unit European Unit of Account 9 (E.U.A.-9).
      XBD
      Bond Markets Unit European Unit of Account 17 (E.U.A.-17).
      XCD
      East Caribbean Dollar.
      XDR
      SDR (Special Drawing Right).
      XOF
      CFA Franc BCEAO.
      XPD
      Palladium.
      XPF
      CFP Franc.
      XPT
      Platinum.
      XSU
      Sucre.
      XTS
      Codes specifically reserved for testing purposes.
      XUA
      ADB Unit of Account.
      XXX
      The codes assigned for transactions where no currency is involved.
      YER
      Yemeni Rial.
      ZAR
      Rand.
      ZMW
      Zambian Kwacha.
      ZWL
      Zimbabwe Dollar.
    • Field Summary

      Fields 
      Modifier and Type Field Description
      String code
      Code identifying the currency.
      int exponent
      Minor units exponent to properly format amounts on screen.
      String name
      Verbose currency name for example for selections to choose from.
    • Enum Constant Detail

      • AED

        public static final Currency AED
        UAE Dirham.
      • AFN

        public static final Currency AFN
        Afghani.
      • ALL

        public static final Currency ALL
        Lek.
      • AMD

        public static final Currency AMD
        Armenian Dram.
      • ANG

        public static final Currency ANG
        Netherlands Antillean Guilder.
      • AOA

        public static final Currency AOA
        Kwanza.
      • ARS

        public static final Currency ARS
        Argentine Peso.
      • AUD

        public static final Currency AUD
        Australian Dollar.
      • AWG

        public static final Currency AWG
        Aruban Florin.
      • AZN

        public static final Currency AZN
        Azerbaijanian Manat.
      • BAM

        public static final Currency BAM
        Convertible Mark.
      • BBD

        public static final Currency BBD
        Barbados Dollar.
      • BDT

        public static final Currency BDT
        Taka.
      • BGN

        public static final Currency BGN
        Bulgarian Lev.
      • BHD

        public static final Currency BHD
        Bahraini Dinar.
      • BIF

        public static final Currency BIF
        Burundi Franc.
      • BMD

        public static final Currency BMD
        Bermudian Dollar.
      • BND

        public static final Currency BND
        Brunei Dollar.
      • BOB

        public static final Currency BOB
        Boliviano.
      • BOV

        public static final Currency BOV
        Mvdol.
      • BRL

        public static final Currency BRL
        Brazilian Real.
      • BSD

        public static final Currency BSD
        Bahamian Dollar.
      • BTN

        public static final Currency BTN
        Ngultrum.
      • BWP

        public static final Currency BWP
        Pula.
      • BYN

        public static final Currency BYN
        Belarusian Ruble.
      • BYR

        public static final Currency BYR
        Belarusian Ruble.
      • BZD

        public static final Currency BZD
        Belize Dollar.
      • CAD

        public static final Currency CAD
        Canadian Dollar.
      • CDF

        public static final Currency CDF
        Congolese Franc.
      • CHE

        public static final Currency CHE
        WIR Euro.
      • CHF

        public static final Currency CHF
        Swiss Franc.
      • CHW

        public static final Currency CHW
        WIR Franc.
      • CLF

        public static final Currency CLF
        Unidad de Fomento.
      • CLP

        public static final Currency CLP
        Chilean Peso.
      • CNY

        public static final Currency CNY
        Yuan Renminbi.
      • COP

        public static final Currency COP
        Colombian Peso.
      • COU

        public static final Currency COU
        Unidad de Valor Real.
      • CRC

        public static final Currency CRC
        Costa Rican Colon.
      • CUC

        public static final Currency CUC
        Peso Convertible.
      • CUP

        public static final Currency CUP
        Cuban Peso.
      • CVE

        public static final Currency CVE
        Cabo Verde Escudo.
      • CZK

        public static final Currency CZK
        Czech Koruna.
      • DJF

        public static final Currency DJF
        Djibouti Franc.
      • DKK

        public static final Currency DKK
        Danish Krone.
      • DOP

        public static final Currency DOP
        Dominican Peso.
      • DZD

        public static final Currency DZD
        Algerian Dinar.
      • EGP

        public static final Currency EGP
        Egyptian Pound.
      • ERN

        public static final Currency ERN
        Nakfa.
      • ETB

        public static final Currency ETB
        Ethiopian Birr.
      • EUR

        public static final Currency EUR
        Euro.
      • FJD

        public static final Currency FJD
        Fiji Dollar.
      • FKP

        public static final Currency FKP
        Falkland Islands Pound.
      • GBP

        public static final Currency GBP
        Pound Sterling.
      • GEL

        public static final Currency GEL
        Lari.
      • GHS

        public static final Currency GHS
        Ghana Cedi.
      • GIP

        public static final Currency GIP
        Gibraltar Pound.
      • GMD

        public static final Currency GMD
        Dalasi.
      • GNF

        public static final Currency GNF
        Guinea Franc.
      • GTQ

        public static final Currency GTQ
        Quetzal.
      • GYD

        public static final Currency GYD
        Guyana Dollar.
      • HKD

        public static final Currency HKD
        Hong Kong Dollar.
      • HNL

        public static final Currency HNL
        Lempira.
      • HRK

        public static final Currency HRK
        Kuna.
      • HTG

        public static final Currency HTG
        Gourde.
      • HUF

        public static final Currency HUF
        Forint.
      • IDR

        public static final Currency IDR
        Rupiah.
      • ILS

        public static final Currency ILS
        New Israeli Sheqel.
      • INR

        public static final Currency INR
        Indian Rupee.
      • IQD

        public static final Currency IQD
        Iraqi Dinar.
      • IRR

        public static final Currency IRR
        Iranian Rial.
      • ISK

        public static final Currency ISK
        Iceland Krona.
      • JMD

        public static final Currency JMD
        Jamaican Dollar.
      • JOD

        public static final Currency JOD
        Jordanian Dinar.
      • JPY

        public static final Currency JPY
        Yen.
      • KES

        public static final Currency KES
        Kenyan Shilling.
      • KGS

        public static final Currency KGS
        Som.
      • KHR

        public static final Currency KHR
        Riel.
      • KMF

        public static final Currency KMF
        Comoro Franc.
      • KPW

        public static final Currency KPW
        North Korean Won.
      • KRW

        public static final Currency KRW
        Won.
      • KWD

        public static final Currency KWD
        Kuwaiti Dinar.
      • KYD

        public static final Currency KYD
        Cayman Islands Dollar.
      • KZT

        public static final Currency KZT
        Tenge.
      • LAK

        public static final Currency LAK
        Kip.
      • LBP

        public static final Currency LBP
        Lebanese Pound.
      • LKR

        public static final Currency LKR
        Sri Lanka Rupee.
      • LRD

        public static final Currency LRD
        Liberian Dollar.
      • LSL

        public static final Currency LSL
        Loti.
      • LYD

        public static final Currency LYD
        Libyan Dinar.
      • MAD

        public static final Currency MAD
        Moroccan Dirham.
      • MDL

        public static final Currency MDL
        Moldovan Leu.
      • MGA

        public static final Currency MGA
        Malagasy Ariary.
      • MKD

        public static final Currency MKD
        Denar.
      • MMK

        public static final Currency MMK
        Kyat.
      • MNT

        public static final Currency MNT
        Tugrik.
      • MOP

        public static final Currency MOP
        Pataca.
      • MRO

        public static final Currency MRO
        Ouguiya.
      • MUR

        public static final Currency MUR
        Mauritius Rupee.
      • MVR

        public static final Currency MVR
        Rufiyaa.
      • MWK

        public static final Currency MWK
        Malawi Kwacha.
      • MXN

        public static final Currency MXN
        Mexican Peso.
      • MXV

        public static final Currency MXV
        Mexican Unidad de Inversion (UDI).
      • MYR

        public static final Currency MYR
        Malaysian Ringgit.
      • MZN

        public static final Currency MZN
        Mozambique Metical.
      • NAD

        public static final Currency NAD
        Namibia Dollar.
      • NGN

        public static final Currency NGN
        Naira.
      • NIO

        public static final Currency NIO
        Cordoba Oro.
      • NOK

        public static final Currency NOK
        Norwegian Krone.
      • NPR

        public static final Currency NPR
        Nepalese Rupee.
      • NZD

        public static final Currency NZD
        New Zealand Dollar.
      • OMR

        public static final Currency OMR
        Rial Omani.
      • PAB

        public static final Currency PAB
        Balboa.
      • PEN

        public static final Currency PEN
        Sol.
      • PGK

        public static final Currency PGK
        Kina.
      • PHP

        public static final Currency PHP
        Philippine Peso.
      • PKR

        public static final Currency PKR
        Pakistan Rupee.
      • PLN

        public static final Currency PLN
        Zloty.
      • PTS

        public static final Currency PTS
        VM Loyalty.
      • PYG

        public static final Currency PYG
        Guarani.
      • QAR

        public static final Currency QAR
        Qatari Rial.
      • RON

        public static final Currency RON
        Romanian Leu.
      • RSD

        public static final Currency RSD
        Serbian Dinar.
      • RUB

        public static final Currency RUB
        Russian Ruble.
      • RWF

        public static final Currency RWF
        Rwanda Franc.
      • SAR

        public static final Currency SAR
        Saudi Riyal.
      • SBD

        public static final Currency SBD
        Solomon Islands Dollar.
      • SCR

        public static final Currency SCR
        Seychelles Rupee.
      • SDG

        public static final Currency SDG
        Sudanese Pound.
      • SEK

        public static final Currency SEK
        Swedish Krona.
      • SGD

        public static final Currency SGD
        Singapore Dollar.
      • SHP

        public static final Currency SHP
        Saint Helena Pound.
      • SLL

        public static final Currency SLL
        Leone.
      • SOS

        public static final Currency SOS
        Somali Shilling.
      • SRD

        public static final Currency SRD
        Surinam Dollar.
      • SSP

        public static final Currency SSP
        South Sudanese Pound.
      • STD

        public static final Currency STD
        Dobra.
      • SVC

        public static final Currency SVC
        El Salvador Colon.
      • SYP

        public static final Currency SYP
        Syrian Pound.
      • SZL

        public static final Currency SZL
        Lilangeni.
      • THB

        public static final Currency THB
        Baht.
      • TJS

        public static final Currency TJS
        Somoni.
      • TMT

        public static final Currency TMT
        Turkmenistan New Manat.
      • TND

        public static final Currency TND
        Tunisian Dinar.
      • TOP

        public static final Currency TOP
        Pa’anga.
      • TRY

        public static final Currency TRY
        Turkish Lira.
      • TTD

        public static final Currency TTD
        Trinidad and Tobago Dollar.
      • TWD

        public static final Currency TWD
        New Taiwan Dollar.
      • TZS

        public static final Currency TZS
        Tanzanian Shilling.
      • UAH

        public static final Currency UAH
        Hryvnia.
      • UGX

        public static final Currency UGX
        Uganda Shilling.
      • USD

        public static final Currency USD
        US Dollar.
      • USN

        public static final Currency USN
        US Dollar (Next day).
      • UYI

        public static final Currency UYI
        Uruguay Peso en Unidades Indexadas (URUIURUI).
      • UYU

        public static final Currency UYU
        Peso Uruguayo.
      • UZS

        public static final Currency UZS
        Uzbekistan Sum.
      • VEF

        public static final Currency VEF
        Bolívar.
      • VND

        public static final Currency VND
        Dong.
      • VUV

        public static final Currency VUV
        Vatu.
      • WST

        public static final Currency WST
        Tala.
      • XAF

        public static final Currency XAF
        CFA Franc BEAC.
      • XAG

        public static final Currency XAG
        Silver.
      • XAU

        public static final Currency XAU
        Gold.
      • XBA

        public static final Currency XBA
        Bond Markets Unit European Composite Unit (EURCO).
      • XBB

        public static final Currency XBB
        Bond Markets Unit European Monetary Unit (E.M.U.-6).
      • XBC

        public static final Currency XBC
        Bond Markets Unit European Unit of Account 9 (E.U.A.-9).
      • XBD

        public static final Currency XBD
        Bond Markets Unit European Unit of Account 17 (E.U.A.-17).
      • XCD

        public static final Currency XCD
        East Caribbean Dollar.
      • XDR

        public static final Currency XDR
        SDR (Special Drawing Right).
      • XOF

        public static final Currency XOF
        CFA Franc BCEAO.
      • XPD

        public static final Currency XPD
        Palladium.
      • XPF

        public static final Currency XPF
        CFP Franc.
      • XPT

        public static final Currency XPT
        Platinum.
      • XSU

        public static final Currency XSU
        Sucre.
      • XTS

        public static final Currency XTS
        Codes specifically reserved for testing purposes.
      • XUA

        public static final Currency XUA
        ADB Unit of Account.
      • XXX

        public static final Currency XXX
        The codes assigned for transactions where no currency is involved.
      • YER

        public static final Currency YER
        Yemeni Rial.
      • ZAR

        public static final Currency ZAR
        Rand.
      • ZMW

        public static final Currency ZMW
        Zambian Kwacha.
      • ZWL

        public static final Currency ZWL
        Zimbabwe Dollar.
    • Field Detail

      • code

        public final String code
        Code identifying the currency. Use this to display amounts on screen.
      • name

        public final String name
        Verbose currency name for example for selections to choose from.
      • exponent

        public final int exponent
        Minor units exponent to properly format amounts on screen.
    • Method Detail

      • values

        public static Currency[] values()
        Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:
        for (Currency c : Currency.values())
            System.out.println(c);
        
        Returns:
        an array containing the constants of this enum type, in the order they are declared
      • valueOf

        public static Currency valueOf​(String name)
        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 name
        NullPointerException - if the argument is null
      • withCode

        public static Currency withCode​(String code)
        Get enumeration value matching code.