Log in
Interface

OptionValueInterface

Magento\ConfigurableProduct\Api\Data\OptionValueInterface

What it does

This interface defines the contract for configurable product option values, representing a single attribute value (like a specific color or size) that can be selected for a configurable product.

Developers use this when working with configurable product options programmatically, to get or set the value index that identifies which attribute option value is being used.

Public Methods

  • getValueIndex()
  • setValueIndex()
  • getExtensionAttributes()
  • setExtensionAttributes()