Log in
Model

BundleOption

Magento\Bundle\Model\BundleOption

What it does

This class represents a bundle product option selection in a customer's cart or order.

Developers use it to store and retrieve information about which bundle option was selected, the quantity chosen, and the specific product selections within that option when processing bundle product purchases.

Public Methods

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