Model
CsvImportHandler
Magento\TaxImportExport\Model\Rate\CsvImportHandler
What it does
This class handles the import of tax rates from CSV files in Magento 2.
Developers would use this when implementing functionality to bulk import or update tax rates, including country/region-specific rates with localized titles.
It validates CSV data, maps store codes to IDs, handles region/country relationships, and creates or updates tax rate records in the database.
Public Methods
- getRequiredCsvFields()
- importFromCsvFile()