Model
SetPaymentAndPlaceOrder
Magento\QuoteGraphQl\Model\Cart\SetPaymentAndPlaceOrder
What it does
This class coordinates the final checkout steps in GraphQL API requests by setting the payment method on a cart and then placing the order.
Developers use this in GraphQL resolvers to handle one-step checkout operations where payment information and order placement happen together, streamlining the checkout process for headless or API-based storefronts.
Public Methods
- execute()