You are here

public function FixerExchanger::apiUrl in Commerce Exchanger 8

URL from remote provider upon API call should be made.

Return value

string Returns full url.

Overrides ExchangerProviderRemoteInterface::apiUrl

File

src/Plugin/Commerce/ExchangerProvider/FixerExchanger.php, line 24

Class

FixerExchanger
Provides the Fixer.io exchange rates.

Namespace

Drupal\commerce_exchanger\Plugin\Commerce\ExchangerProvider

Code

public function apiUrl() {
  return 'http://data.fixer.io/api/latest';
}