BuyRequestDataProviderInterface
Magento\Wishlist\Model\Wishlist\BuyRequest\BuyRequestDataProviderInterface
What it does
This interface defines a contract for building buy request data when adding products to a wishlist.
Developers implement this interface to transform wishlist item data into the proper format required for adding products to a customer's wishlist, handling product-specific options and configurations.
It's used in the wishlist functionality to standardize how product purchase requests are formatted before being added to the wishlist.
Public Methods
- execute()