ProductTypeInterface
Magento\Catalog\Api\Data\ProductTypeInterface
What it does
This interface defines the contract for product type data objects in Magento 2, representing different product types like simple, configurable, bundled, etc.
Developers use this when working with the Catalog API to retrieve or set product type information, including the type code (name) and human-readable label.
It's commonly used in product management, type filtering, and when extending product type functionality through extension attributes.
Public Methods
- getName()
- setName()
- getLabel()
- setLabel()
- getExtensionAttributes()
- setExtensionAttributes()