Log in
Interface

BuyRequestDataProviderInterface

Magento\QuoteGraphQl\Model\Cart\BuyRequest\BuyRequestDataProviderInterface

What it does

This interface defines a contract for providers that build buy request data when adding products to a shopping cart via GraphQL.

Developers implement this interface to transform GraphQL cart item data into the format required by Magento's add-to-cart functionality, handling product-specific options, quantities, and configurations.

Public Methods

  • execute()