Log in
Interface

ProductOptionInterface

Magento\Quote\Api\Data\ProductOptionInterface

What it does

This interface defines the contract for product options in a shopping cart quote.

Developers use this when they need to work with additional product configuration data (like custom options, downloadable links, or bundle selections) that are associated with items in a customer's quote.

The interface primarily provides methods to get and set extension attributes, allowing third-party modules to add custom product option data without modifying core code.

Public Methods

  • getExtensionAttributes()
  • setExtensionAttributes()