Model
GuestCartRepository
Magento\Quote\Model\GuestCart\GuestCartRepository
What it does
This class manages shopping cart retrieval for guest (non-logged-in) customers in Magento 2.
It converts masked cart IDs (public identifiers used in frontend APIs) to internal quote IDs and retrieves the corresponding cart data.
Developers use this when building guest checkout functionality or any feature that needs to access a guest customer's shopping cart through the API.
Public Methods
- get()