You are here

public function ExchangerProviderRemoteInterface::getRemoteData in Commerce Exchanger 8

Fetch external data.

Parameters

string|null $base_currency: If we fetch data based on specific currency.

1 call to ExchangerProviderRemoteInterface::getRemoteData()
ExchangerProviderRemoteBase::processRemoteData in src/Plugin/Commerce/ExchangerProvider/ExchangerProviderRemoteBase.php
Process data with checking structure and preparing data for importing.
6 methods override ExchangerProviderRemoteInterface::getRemoteData()
CurrencylayerExchanger::getRemoteData in src/Plugin/Commerce/ExchangerProvider/CurrencylayerExchanger.php
Fetch external data.
EuropeanCentralBankExchanger::getRemoteData in src/Plugin/Commerce/ExchangerProvider/EuropeanCentralBankExchanger.php
Fetch external data.
FixerExchanger::getRemoteData in src/Plugin/Commerce/ExchangerProvider/FixerExchanger.php
Fetch external data.
TestEnterpriseExchanger::getRemoteData in tests/modules/commerce_exchanger_test/src/Plugin/Commerce/ExchangerProvider/TestEnterpriseExchanger.php
Fetch external data.
TestExchanger::getRemoteData in tests/modules/commerce_exchanger_test/src/Plugin/Commerce/ExchangerProvider/TestExchanger.php
Fetch external data.

... See full list

File

src/Plugin/Commerce/ExchangerProvider/ExchangerProviderRemoteInterface.php, line 92

Class

ExchangerProviderRemoteInterface
Defines an interface for remote sources.

Namespace

Drupal\commerce_exchanger\Plugin\Commerce\ExchangerProvider

Code

public function getRemoteData($base_currency = NULL);