Factory
Import\Factory
Magento\Directory\Model\Currency\Import\Factory
What it does
This factory class creates instances of currency import services in Magento 2.
Developers use it to instantiate specific currency rate import providers (like FixerIO, CurrencyConverterAPI) by service name, ensuring they implement the required ImportInterface.
It validates the service configuration and enforces interface compliance before returning the import service instance.
Public Methods
- create()