You are here

public function ExchangerProviderRemoteBase::getApiKey in Commerce Exchanger 8

Remote providers api key.

Return value

string Return user entered api key or empty string.

Overrides ExchangerProviderRemoteInterface::getApiKey

3 calls to ExchangerProviderRemoteBase::getApiKey()
CurrencylayerExchanger::getRemoteData in src/Plugin/Commerce/ExchangerProvider/CurrencylayerExchanger.php
Fetch external data.
FixerExchanger::getRemoteData in src/Plugin/Commerce/ExchangerProvider/FixerExchanger.php
Fetch external data.
TransferWiseExchanger::getRemoteData in src/Plugin/Commerce/ExchangerProvider/TransferWiseExchanger.php
Fetch external data.

File

src/Plugin/Commerce/ExchangerProvider/ExchangerProviderRemoteBase.php, line 30

Class

ExchangerProviderRemoteBase
Base class for Commerce exchanger provider plugins.

Namespace

Drupal\commerce_exchanger\Plugin\Commerce\ExchangerProvider

Code

public function getApiKey() {
  return $this->configuration['api_key'];
}