Model
Product
Magento\Tax\Model\TaxClass\Type\Product
What it does
This class represents a product tax class type in Magento's tax system.
Developers use it to check if a specific tax class is assigned to any products and to retrieve information about the product tax class type.
It's primarily used when managing tax classes to prevent deletion of classes that are actively assigned to products.
Public Methods
- isAssignedToObjects()
- getObjectTypeName()