p

money

package money

This package object contains utility functions and type aliases

Since

2014-10-27

Linear Supertypes
AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. money
  2. AnyRef
  3. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Type Members

  1. implicit final class BigDecimalOps extends AnyVal

    Extensions for this DSL.

  2. type Conversion = Map[(Currency, Currency), BigDecimal]
  3. case class Converter(conversion: Conversion) extends Product with Serializable

    This class is responsible for performing Currency conversions.

    This class is responsible for performing Currency conversions.

    Since

    2015-03-07

  4. trait Currency extends AnyRef

    Generic Currency

    Generic Currency

    Since

    2014-10-27

  5. implicit final class DoubleOps extends AnyVal
  6. implicit final class IntOps extends AnyVal
  7. case class Money(amount: BigDecimal, currency: Currency)(implicit converter: Converter) extends Ordered[Money] with Product with Serializable

    This is the main class of the lib.

    This is the main class of the lib. A Money is represented by its amount and currency.

    amount

    the amount of this money

    currency

    the currency for this money

    Since

    2014-10-27

  8. class NumericMoney extends Numeric[Money]

    Numeric implementation for money.Money

    Numeric implementation for money.Money

    Since

    2015-06-18

Value Members

  1. implicit val DEFAULT_CURRENCY: USD.type
  2. implicit def numericMoney(implicit converter: Converter): NumericMoney
  3. def toFormattedString(value: BigDecimal, decimalDigits: Int = 5, roundingMode: RoundingMode = RoundingMode.HALF_DOWN): String

    Formats the BigDecimal value using a number of decimal digits equals to the decimalDigits param, which defaults to 5.

    Formats the BigDecimal value using a number of decimal digits equals to the decimalDigits param, which defaults to 5.

    value

    the BigDecimal value to format

    decimalDigits

    the number of decimal digits to include. The valid range is [0, 100], both inclusive

    returns

    a formatted string representing the value passed as a parameter

  4. object AED extends Currency

    United Arab Emirates Dirham

  5. object AFN extends Currency

    Afghanistan Afghani

  6. object ALL extends Currency

    Albania Lek

  7. object AMD extends Currency

    Armenia Dram

  8. object ANG extends Currency

    Netherlands Antilles Guilder

  9. object AOA extends Currency

    Angola Kwanza

  10. object ARS extends Currency

    Argentina Peso

  11. object AUD extends Currency

    Australia Dollar

  12. object AWG extends Currency

    Aruba Guilder

  13. object AZN extends Currency

    Azerbaijan New Manat

  14. object BAM extends Currency

    Bosnia and Herzegovina Convertible Marka

  15. object BBD extends Currency

    Barbados Dollar

  16. object BDT extends Currency

    Bangladesh Taka

  17. object BGN extends Currency

    Bulgaria Lev

  18. object BHD extends Currency

    Bahrain Dinar

  19. object BIF extends Currency

    Burundi Franc

  20. object BMD extends Currency

    Bermuda Dollar

  21. object BND extends Currency

    Brunei Darussalam Dollar

  22. object BOB extends Currency

    Bolivia Boliviano

  23. object BRL extends Currency

    Brazil Real

  24. object BSD extends Currency

    Bahamas Dollar

  25. object BTN extends Currency

    Bhutan Ngultrum

  26. object BWP extends Currency

    Botswana Pula

  27. object BYR extends Currency

    Belarus Ruble

  28. object BZD extends Currency

    Belize Dollar

  29. object CAD extends Currency

    Canada Dollar

  30. object CDF extends Currency

    Congo/Kinshasa Franc

  31. object CER extends Currency

    Coeficiente de Estabilización de Referencia

  32. object CHF extends Currency

    Switzerland Franc

  33. object CLF extends Currency

    Chilean Unidad de Fomento

  34. object CLP extends Currency

    Chile Peso

  35. object CNH extends Currency

    Official currency people republic of China.

    Official currency people republic of China. Renminbi

  36. object CNY extends Currency

    China Yuan Renminbi

  37. object COP extends Currency

    Colombia Peso

  38. object CRC extends Currency

    Costa Rica Colon

  39. object CUC extends Currency

    Cuba Convertible Peso

  40. object CUP extends Currency

    Cuba Peso

  41. object CVE extends Currency

    Cape Verde Escudo

  42. object CZK extends Currency

    Czech Republic Koruna

  43. object Converter extends Serializable
  44. object Currency
  45. object DJF extends Currency

    Djibouti Franc

  46. object DKK extends Currency

    Denmark Krone

  47. object DOP extends Currency

    Dominican Republic Peso

  48. object DZD extends Currency

    Algeria Dinar

  49. object EGP extends Currency

    Egypt Pound

  50. object ERN extends Currency

    Eritrea Nakfa

  51. object ETB extends Currency

    Ethiopia Birr

  52. object EUR extends Currency

    Euro Member Countries

  53. object FJD extends Currency

    Fiji Dollar

  54. object FKP extends Currency

    Falkland Islands (Malvinas) Pound

  55. object GBP extends Currency

    United Kingdom Pound

  56. object GEL extends Currency

    Georgia Lari

  57. object GGP extends Currency

    Guernsey Pound

  58. object GHS extends Currency

    Ghana Cedi

  59. object GIP extends Currency

    Gibraltar Pound

  60. object GMD extends Currency

    Gambia Dalasi

  61. object GNF extends Currency

    Guinea Franc

  62. object GTQ extends Currency

    Guatemala Quetzal

  63. object GYD extends Currency

    Guyana Dollar

  64. object HKD extends Currency

    Hong Kong Dollar

  65. object HNL extends Currency

    Honduras Lempira

  66. object HRK extends Currency

    Croatia Kuna

  67. object HTG extends Currency

    Haiti Gourde

  68. object HUF extends Currency

    Hungary Forint

  69. object IDR extends Currency

    Indonesia Rupiah

  70. object ILS extends Currency

    Israel Shekel

  71. object IMP extends Currency

    Isle of Man Pound

  72. object INR extends Currency

    India Rupee

  73. object IQD extends Currency

    Iraq Dinar

  74. object IRR extends Currency

    Iran Rial

  75. object ISK extends Currency

    Iceland Krona

  76. object JEP extends Currency

    Jersey Pound

  77. object JMD extends Currency

    Jamaica Dollar

  78. object JOD extends Currency

    Jordan Dinar

  79. object JPY extends Currency

    Japan Yen

  80. object KES extends Currency

    Kenya Shilling

  81. object KGS extends Currency

    Kyrgyzstan Som

  82. object KHR extends Currency

    Cambodia Riel

  83. object KMF extends Currency

    Comoros Franc

  84. object KPW extends Currency

    Korea (North) Won

  85. object KRW extends Currency

    Korea (South) Won

  86. object KWD extends Currency

    Kuwait Dinar

  87. object KYD extends Currency

    Cayman Islands Dollar

  88. object KZT extends Currency

    Kazakhstan Tenge

  89. object LAK extends Currency

    Laos Kip

  90. object LBP extends Currency

    Lebanon Pound

  91. object LKR extends Currency

    Sri Lanka Rupee

  92. object LRD extends Currency

    Liberia Dollar

  93. object LSL extends Currency

    Lesotho Loti

  94. object LTL extends Currency

    Lithuania Litas

  95. object LYD extends Currency

    Libya Dinar

  96. object MAD extends Currency

    Morocco Dirham

  97. object MDL extends Currency

    Moldova Leu

  98. object MGA extends Currency

    Madagascar Ariary

  99. object MKD extends Currency

    Macedonia Denar

  100. object MMK extends Currency

    Myanmar (Burma) Kyat

  101. object MNT extends Currency

    Mongolia Tughrik

  102. object MOP extends Currency

    Macau Pataca

  103. object MRO extends Currency

    Mauritania Ouguiya

  104. object MUR extends Currency

    Mauritius Rupee

  105. object MVR extends Currency

    Maldives (Maldive Islands) Rufiyaa

  106. object MWK extends Currency

    Malawi Kwacha

  107. object MXN extends Currency

    Mexico Peso

  108. object MYR extends Currency

    Malaysia Ringgit

  109. object MZN extends Currency

    Mozambique Metical

  110. object NAD extends Currency

    Namibia Dollar

  111. object NGN extends Currency

    Nigeria Naira

  112. object NIO extends Currency

    Nicaragua Cordoba

  113. object NOK extends Currency

    Norway Krone

  114. object NPR extends Currency

    Nepal Rupee

  115. object NZD extends Currency

    New Zealand Dollar

  116. object OMR extends Currency

    Oman Rial

  117. object ORO extends Currency
  118. object PAB extends Currency

    Panama Balboa

  119. object PEN extends Currency

    Peru Nuevo Sol

  120. object PGK extends Currency

    Papua New Guinea Kina

  121. object PHP extends Currency

    Philippines Peso

  122. object PKR extends Currency

    Pakistan Rupee

  123. object PLN extends Currency

    Poland Zloty

  124. object PYG extends Currency

    Paraguay Guarani

  125. object QAR extends Currency

    Qatar Riyal

  126. object RON extends Currency

    Romania New Leu

  127. object RSD extends Currency

    Serbia Dinar

  128. object RUB extends Currency

    Russia Ruble

  129. object RWF extends Currency

    Rwanda Franc

  130. object SAR extends Currency

    Saudi Arabia Riyal

  131. object SBD extends Currency

    Solomon Islands Dollar

  132. object SCR extends Currency

    Seychelles Rupee

  133. object SDG extends Currency

    Sudan Pound

  134. object SEK extends Currency

    Sweden Krona

  135. object SGD extends Currency

    Singapore Dollar

  136. object SHP extends Currency

    Saint Helena Pound

  137. object SLL extends Currency

    Sierra Leone Leone

  138. object SOS extends Currency

    Somalia Shilling

  139. object SPL extends Currency

    Seborga Luigino

  140. object SRD extends Currency

    Suriname Dollar

  141. object STD extends Currency

    São Tomé and Príncipe Dobra

  142. object SVC extends Currency

    El Salvador Colon

  143. object SYP extends Currency

    Syria Pound

  144. object SZL extends Currency

    Swaziland Lilangeni

  145. object THB extends Currency

    Thailand Baht

  146. object TJS extends Currency

    Tajikistan Somoni

  147. object TMT extends Currency

    Turkmenistan Manat

  148. object TND extends Currency

    Tunisia Dinar

  149. object TOP extends Currency

    Tonga Pa'anga

  150. object TRY extends Currency

    Turkey Lira

  151. object TTD extends Currency

    Trinidad and Tobago Dollar

  152. object TVD extends Currency

    Tuvalu Dollar

  153. object TWD extends Currency

    Taiwan New Dollar

  154. object TZS extends Currency

    Tanzania Shilling

  155. object UAH extends Currency

    Ukraine Hryvnia

  156. object UDI extends Currency

    Mexican currency fund unit

  157. object UGX extends Currency

    Uganda Shilling

  158. object USD extends Currency

    United States Dollar

  159. object UVR extends Currency

    Unidad de valor real.

    Unidad de valor real. Colombia

  160. object UYU extends Currency

    Uruguay Peso

  161. object UZS extends Currency

    Uzbekistan Som

  162. object VEB extends Currency

    Venezuelan Bolivar Rate

  163. object VEF extends Currency

    Venezuela Bolivar

  164. object VND extends Currency

    Viet Nam Dong

  165. object VUV extends Currency

    Vanuatu Vatu

  166. object WST extends Currency

    Samoa Tala

  167. object XAG extends Currency

    Silver Ounce Rate

  168. object XAU extends Currency

    Gold Ounce Rate

  169. object XCD extends Currency

    East Caribbean Dollar

  170. object XDR extends Currency

    International Monetary Fund (IMF) Special Drawing Rights

  171. object XOF extends Currency

    Communauté Financière Africaine (BCEAO) Franc

  172. object XPD extends Currency

    Palladium Ounce Rate

  173. object XPF extends Currency

    Comptoirs Français du Pacifique (CFP) Franc

  174. object XPT extends Currency
  175. object XUL extends Currency
  176. object YER extends Currency

    Yemen Rial

  177. object ZAR extends Currency

    South Africa Rand

  178. object ZMW extends Currency

    Zambia Kwacha

  179. object ZWD extends Currency

    Zimbabwe Dollar

Inherited from AnyRef

Inherited from Any

Ungrouped