Interface
ProductCustomOptionValuesInterface
Magento\Catalog\Api\Data\ProductCustomOptionValuesInterface
What it does
This interface defines the contract for individual values within a product's custom option (e.g., dropdown choices, radio button options).
Developers use this when creating or managing selectable values for custom options like color choices or size selections, allowing them to set properties like title, price adjustments, SKU, and display order for each option value.
Public Methods
- getTitle()
- setTitle()
- getSortOrder()
- setSortOrder()
- getPrice()
- setPrice()
- getPriceType()
- setPriceType()
- getSku()
- setSku()
- getOptionTypeId()
- setOptionTypeId()