You are here

public function TestExchanger::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

tests/modules/commerce_exchanger_test/src/Plugin/Commerce/ExchangerProvider/TestExchanger.php, line 25

Class

TestExchanger
Provides the test exchange rates.

Namespace

Drupal\commerce_exchanger_test\Plugin\Commerce\ExchangerProvider

Code

public function apiUrl() {
  return 'http://example.test';
}