Model
RateRepository
Magento\Tax\Model\Calculation\RateRepository
What it does
This repository class manages CRUD operations for tax rate entities in Magento 2.
Developers use it to create, retrieve, update, and delete tax rates programmatically, as well as search for tax rates using various criteria.
It handles validation of tax rate data including country codes, region codes, zip ranges, and percentage rates before saving.
Public Methods
- save()
- get()
- delete()
- deleteById()
- getList()