Model
Rate
Magento\Tax\Model\ResourceModel\Calculation\Rate
What it does
This resource model manages database operations for tax calculation rates in Magento 2.
Developers use this class to perform CRUD operations on tax rates, check if a rate is associated with any tax rules, or bulk delete all tax rates from the system.
It's primarily used by tax configuration modules and administrative interfaces when managing tax rate data.
Public Methods
- deleteAllRates()
- isInRule()