corda / net.corda.finance

Package net.corda.finance

Extensions for External Classes

java.util.Currency

kotlin.Double

kotlin.Int

kotlin.Long

net.corda.core.contracts.Amount

Properties

CHF

val CHF: Currency

EUR

val EUR: Currency

GBP

val GBP: Currency

JPY

val JPY: Currency

RUB

val RUB: Currency

USD

val USD: Currency

Functions

AMOUNT

fun <T : Any> AMOUNT(amount: Int, token: T): Amount<T>
fun <T : Any> AMOUNT(amount: Long, token: T): Amount<T>
fun <T : Any> AMOUNT(amount: Double, token: T): Amount<T>

DOLLARS

fun DOLLARS(amount: Int): Amount<Currency>
fun DOLLARS(amount: Long): Amount<Currency>
fun DOLLARS(amount: Double): Amount<Currency>

POUNDS

fun POUNDS(amount: Int): Amount<Currency>
fun POUNDS(amount: Long): Amount<Currency>
fun POUNDS(amount: Double): Amount<Currency>

SWISS_FRANCS

fun SWISS_FRANCS(amount: Int): Amount<Currency>
fun SWISS_FRANCS(amount: Long): Amount<Currency>
fun SWISS_FRANCS(amount: Double): Amount<Currency>