getActiveExchangeRate(Currency, Currency) method

Retrieves the current exchange rate for the given to and from currencies or null if none is found.

Syntax

ExchangeRate getActiveExchangeRate ( Currency fromCurrency , Currency toCurrency )

Parameters