You are here

public function EuropeanCentralBankExchanger::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/EuropeanCentralBankExchanger.php, line 24

Class

EuropeanCentralBankExchanger
Provides EuropeanCentralBank.

Namespace

Drupal\commerce_exchanger\Plugin\Commerce\ExchangerProvider

Code

public function apiUrl() {
  return 'http://www.ecb.europa.eu/stats/eurofxref/eurofxref-daily.xml';
}