Log in
Model

ValidateMaskedQuoteId

Magento\QuoteGraphQl\Model\Cart\ValidateMaskedQuoteId

What it does

This class validates a pre-defined masked quote (cart) ID in GraphQL operations.

Developers use it to ensure a cart ID is exactly 32 characters long and doesn't already exist in the system before creating a new cart, preventing duplicate cart IDs and enforcing proper ID format in GraphQL mutations.

Public Methods

  • execute()