Model
QuoteIdMask
Magento\Quote\Model\QuoteIdMask
What it does
This class manages masked (anonymous) quote IDs used for guest checkout sessions in Magento 2.
It automatically generates a unique hash identifier when saving a new masked ID, allowing the system to reference shopping carts without exposing internal database IDs.
Developers use this when implementing guest checkout functionality or working with quote APIs that require public-safe identifiers.
Public Methods
- beforeSave()