Log in
Repository

TaxRateRepositoryInterface

Magento\Tax\Api\TaxRateRepositoryInterface

What it does

This interface defines the contract for managing tax rate entities in Magento 2.

Developers use this repository to create, read, update, and delete tax rates, as well as search for multiple tax rates using criteria.

It's the primary service contract for all tax rate operations in extensions, customizations, or API integrations.

Public Methods

  • save()
  • get()
  • deleteById()
  • getList()
  • delete()