Log in
Model

TaxClass\Repository

Magento\Tax\Model\TaxClass\Repository

What it does

This repository class manages tax class entities in Magento 2, providing CRUD operations for both customer and product tax classes.

Developers use this class to programmatically create, retrieve, update, or delete tax classes through the service contract API, ensuring proper validation and registry management.

It's the primary interface for tax class data persistence and retrieval throughout the system.

Public Methods

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