Model
GetCartForCheckout
Magento\QuoteGraphQl\Model\Cart\GetCartForCheckout
What it does
This class retrieves and prepares a shopping cart for the checkout process in GraphQL requests.
It validates the cart, checks if checkout is allowed, and configures guest checkout when no customer is logged in.
Developers use this when implementing GraphQL checkout mutations to ensure the cart is properly configured before proceeding with order placement.
Public Methods
- execute()