Log in
Model

Rule

Magento\Tax\Model\ResourceModel\Calculation\Rule

What it does

This resource model manages database operations for tax calculation rules in Magento 2.

Developers use it to retrieve tax rule codes based on specific combinations of tax rates, customer tax classes, and product tax classes, which is essential when determining which tax rules apply to a transaction.

Public Methods

  • fetchRuleCodes()