You are here

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

Class

TestEnterpriseExchanger
Provides the enterprise exchange rates.

Namespace

Drupal\commerce_exchanger_test\Plugin\Commerce\ExchangerProvider

Code

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