ProductCustomOptionTypeInterface
Magento\Catalog\Api\Data\ProductCustomOptionTypeInterface
What it does
This interface defines the contract for product custom option types in Magento 2's Catalog module.
Developers use it to represent different types of customizable product options (like text fields, dropdowns, file uploads) with their label, unique code, and group classification.
It's primarily used when working with product customization features through the API or when extending custom option functionality.
Public Methods
- getLabel()
- setLabel()
- getCode()
- setCode()
- getGroup()
- setGroup()
- getExtensionAttributes()
- setExtensionAttributes()