Model
TaxRuleRepository
Magento\Tax\Model\TaxRuleRepository
What it does
This repository manages tax rules in Magento 2, providing CRUD operations (create, read, update, delete) for tax rules.
Developers use this class to programmatically retrieve, save, delete tax rules, or get filtered lists of rules using search criteria.
It serves as the main interface for managing tax rules that determine which tax rates apply to different customer and product tax classes.
Public Methods
- get()
- save()
- delete()
- deleteById()
- getList()