net.corda.core.contracts / currency

currency

fun currency(code: String): Currency

Defines a simple domain specific language for the specification of financial contracts. Currently covers:

TODO: Look into replacing Currency and Amount with CurrencyUnit and MonetaryAmount from the javax.money API (JSR 354)