Log in
Model

QuoteIdToMaskedQuoteId

Magento\Quote\Model\QuoteIdToMaskedQuoteId

What it does

This class converts internal quote IDs into masked (public) quote IDs in Magento 2.

Developers use this when they need to expose quote identifiers to guest customers or external APIs without revealing the actual database ID.

It's particularly useful in REST API responses where security requires obfuscating internal identifiers.

Public Methods

  • execute()