Model
Type
Magento\Catalog\Model\Product\Option\Type
What it does
This class represents a product custom option type definition in Magento's catalog system.
Developers use it to define and manage the structure of option types (like dropdown, text, file upload) that can be added to products, storing metadata such as the option's label, code identifier, and grouping category.
Public Methods
- getLabel()
- getCode()
- getGroup()
- setLabel()
- setCode()
- setGroup()
- getExtensionAttributes()
- setExtensionAttributes()