ProductCustomOptionValuesInterface
Magento\Catalog\Api\Data\ProductCustomOptionValuesInterface
What it does
This interface defines the contract for individual option values within a product's custom options (e.g., dropdown choices, radio button options).
Developers use this when working with products that have customizable options with multiple selectable values, such as color choices or size selections.
It manages the value's title, price, price type (fixed or percentage), SKU, and display order.
Public Methods
- getTitle()
- setTitle()
- getSortOrder()
- setSortOrder()
- getPrice()
- setPrice()
- getPriceType()
- setPriceType()
- getSku()
- setSku()
- getOptionTypeId()
- setOptionTypeId()