Sunnysideup\Ecommerce\Money\ExchangeRateProvider::getRate
gets a rate from a FROM and a TO currency.
see https://free.currencyconverterapi.com/ for limitations.
Signature
protected function getRate(string
$fromCode,
string
$toCode )
Parameters
$fromCode
— string- - UPPERCASE Code, e.g. NZD
$toCode
— string- - UPPERCASE Code, e.g. EUR
Returns
- float
- - returns exchange rate