Log in
Interface

BundleOptionInterface

Magento\Bundle\Api\Data\BundleOptionInterface

What it does

This interface defines the data structure for bundle product options in Magento 2.

Developers use it when working with bundle products to manage option selections, quantities, and IDs programmatically through the API or service contracts.

It's essential for creating, reading, or modifying bundle product configurations in cart items or orders.

Public Methods

  • getOptionId()
  • setOptionId()
  • getOptionQty()
  • setOptionQty()
  • getOptionSelections()
  • setOptionSelections()
  • getExtensionAttributes()
  • setExtensionAttributes()