Log in
Model

TaxRateManagement

Magento\Tax\Model\TaxRateManagement

What it does

This class manages tax rate operations by retrieving applicable tax rates based on customer and product tax class combinations.

Developers use this class when they need to determine which tax rates apply to a specific transaction, such as during checkout or price calculations, by matching customer and product tax classifications against configured tax rules.

Public Methods

  • getRatesByCustomerAndProductTaxClassId()