Log in
Model

TaxClassProcessor

Magento\CatalogImportExport\Model\Import\Product\TaxClassProcessor

What it does

This class handles tax class creation and retrieval during product import operations in Magento 2.

Developers use it when importing products to ensure tax classes exist in the system, automatically creating new ones if they don't exist or returning existing tax class IDs.

It's primarily used by the catalog import/export functionality to map imported tax class names to their corresponding database IDs.

Public Methods

  • upsertTaxClass()