CurrencyAmount

vecxt_re.CurrencyAmount
See theCurrencyAmount companion class

Attributes

Companion
class
Graph
Supertypes
trait Product
trait Mirror
class Object
trait Matchable
class Any
Self type

Members list

Type members

Classlikes

Attributes

Supertypes
trait Ordering[CurrencyAmount]
trait PartialOrdering[CurrencyAmount]
trait Equiv[CurrencyAmount]
trait Serializable
trait Comparator[CurrencyAmount]
class Object
trait Matchable
class Any
Show all
Self type

Inherited and Abstract types

type MirroredElemLabels <: Tuple

The names of the product elements.

The names of the product elements.

Attributes

Inherited from:
Mirror
type MirroredLabel <: String

The name of the type.

The name of the type.

Attributes

Inherited from:
Mirror

Value members

Concrete methods

def apply(amount: Double, unit: AmountUnit, ccy: Ccy): CurrencyAmount

e.g. CurrencyAmount(2.5, AmountUnit.Mn, Ccy.USD) is 2,500,000 USD

e.g. CurrencyAmount(2.5, AmountUnit.Mn, Ccy.USD) is 2,500,000 USD

Attributes

def zero(ccy: Ccy): CurrencyAmount

Givens

Givens

In major currency units, e.g. {"amount":2500000.0,"ccy":"USD"}

In major currency units, e.g. {"amount":2500000.0,"ccy":"USD"}

Attributes