public function ExchangerProviderRemoteBase::transformRates in Commerce Exchanger 8
Determine if rates provided by provider needs to be transformed in a required rate ratio based on base currency.
Return value
bool Return true if transfrom rates is ON.
Overrides ExchangerProviderRemoteInterface::transformRates
1 call to ExchangerProviderRemoteBase::transformRates()
- ExchangerProviderRemoteBase::processRemoteData in src/
Plugin/ Commerce/ ExchangerProvider/ ExchangerProviderRemoteBase.php - Process data with checking structure and preparing data for importing.
File
- src/
Plugin/ Commerce/ ExchangerProvider/ ExchangerProviderRemoteBase.php, line 58
Class
- ExchangerProviderRemoteBase
- Base class for Commerce exchanger provider plugins.
Namespace
Drupal\commerce_exchanger\Plugin\Commerce\ExchangerProviderCode
public function transformRates() {
return $this->pluginDefinition['transform_rates'] ?? FALSE;
}