determineExchangeRates(final SubTransaction, Authorisation) method

Syntax

ExchangeRateComputation determineExchangeRates ( final SubTransaction txn , Authorisation authorisation )

Parameters

Returns

the computed exchange rates

Usage

Calculates the exchange rates that are to be considered for the specified transaction. The rates are stored into the database and available via

SubTransaction#getExchangeRatePayee()

and

SubTransaction#getExchangeRatePayer()

.

the computed exchange rates