Log in
Model

BuyRequestBuilder

Magento\Wishlist\Model\Wishlist\BuyRequest\BuyRequestBuilder

What it does

This class builds a buy request DataObject when adding products to a wishlist.

It collects product configuration data (like quantity and product-specific options) from various data providers and combines them into a single request object that can be used to add items to the wishlist with all necessary product options.

Public Methods

  • build()