Interface
ProductOptionInterface
Magento\Quote\Api\Data\ProductOptionInterface
What it does
This interface defines the contract for product options that can be added to quote items in Magento 2.
Developers use this when working with custom product configurations, add-ons, or special attributes that need to be stored with cart items.
It provides extension attributes to allow third-party modules to add custom product option data without modifying core code.
Public Methods
- getExtensionAttributes()
- setExtensionAttributes()