Model
SetGuestEmailOnCart
Magento\QuoteGraphQl\Model\Resolver\SetGuestEmailOnCart
What it does
This GraphQL resolver handles setting an email address on a guest customer's shopping cart.
Developers use this class when implementing the setGuestEmailOnCart GraphQL mutation, which is required before a guest customer can proceed to checkout.
It validates the email format, ensures the user is not logged in, and saves the email to the quote.
Public Methods
- resolve()