class Money::Bank::VariableExchange
- Money::Bank::VariableExchange
- Money::Bank
- Reference
- Object
Defined in:
money/bank/variable_exchange.crInstance Method Summary
- #calculate_fractional(from : Money, to : Currency) : BigDecimal
- #exchange(from : Money, to : Currency) : Money
Instance methods inherited from class Money::Bank
exchange(from : Money, to : Currency) : Money
exchange,
store : Currency::RateStore
store,
store=(store : Currency::RateStore)
store=
Constructor methods inherited from class Money::Bank
new(store : Money::Currency::RateStore | Nil = nil)
new
Class methods inherited from class Money::Bank
default_store : Currency::RateStore
default_store,
default_store=(default_store : Currency::RateStore)
default_store=
Instance Method Detail
Description copied from class Money::Bank
Exchanges the given Money
object to a new Money
object in
to Currency
.