You are here

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

Class

TransferWiseExchanger
Provides the transferwise.com exchange rates.

Namespace

Drupal\commerce_exchanger\Plugin\Commerce\ExchangerProvider

Code

public function apiUrl() {
  return 'https://api.transferwise.com/v1/rates';
}