You are here

public function ExchangerProviderRemoteBase::isEnterprise in Commerce Exchanger 8

Determine if remote provider supports querying by different base currency.

Return value

bool Return true or false.

Overrides ExchangerProviderRemoteInterface::isEnterprise

5 calls to ExchangerProviderRemoteBase::isEnterprise()
CurrencylayerExchanger::apiUrl in src/Plugin/Commerce/ExchangerProvider/CurrencylayerExchanger.php
URL from remote provider upon API call should be made.
CurrencylayerExchanger::getRemoteData in src/Plugin/Commerce/ExchangerProvider/CurrencylayerExchanger.php
Fetch external data.
ExchangerProviderRemoteBase::buildExchangeRates in src/Plugin/Commerce/ExchangerProvider/ExchangerProviderRemoteBase.php
Process all currencies for rates for other currencies.
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 23

Class

ExchangerProviderRemoteBase
Base class for Commerce exchanger provider plugins.

Namespace

Drupal\commerce_exchanger\Plugin\Commerce\ExchangerProvider

Code

public function isEnterprise() {
  return $this->configuration['enterprise'] ?? FALSE;
}