You are here

public function ExchangerProviderRates::getRates in Commerce Exchanger 8

List all rate values keyed by currency code.

Return value

array Keyed array by currency code, and value for rate. ['HRK' => '0.5']

File

src/ExchangerProviderRates.php, line 102

Class

ExchangerProviderRates
Represents remote exchange rates data with base currency.

Namespace

Drupal\commerce_exchanger

Code

public function getRates() {
  return $this->rates;
}