Log in
Interface

ConfigurableItemOptionValueInterface

Magento\ConfigurableProduct\Api\Data\ConfigurableItemOptionValueInterface

What it does

This interface defines the structure for configurable product option values when items are added to cart or orders.

Developers use this to get or set the selected attribute option (like color or size) and its value for a configurable product item, enabling the system to track which specific product variation was chosen.

Public Methods

  • getOptionId()
  • setOptionId()
  • getOptionValue()
  • setOptionValue()
  • getExtensionAttributes()
  • setExtensionAttributes()