Log in
Model

CurrencyConverterApi

Magento\Directory\Model\Currency\Import\CurrencyConverterApi

What it does

This class imports currency exchange rates from the free.currconv.com API service.

Developers use this when they need to automatically fetch and update currency conversion rates for multi-currency stores in Magento 2, enabling automatic price conversions between different currencies based on real-time exchange rates.

Public Methods

  • fetchRates()