Model
SelectedOption
Magento\Wishlist\Model\Wishlist\Data\SelectedOption
What it does
This is a Data Transfer Object (DTO) that represents a selected product option when adding items to a wishlist.
Developers use this class to encapsulate and pass option selection data (like size, color, or custom options) when working with wishlist items that have configurable or customizable product options.
Public Methods
- getId()