Quote Module
AddressAdditionalData
This class serves as a data container for additional address information in Magento quotes. Developers use it to store and retrieve custom address-rel...
AddressAdditionalDataProcessor
This class serves as a placeholder processor for handling additional data on quote addresses during checkout. Developers can extend or plugin into thi...
Backpressure\Config\LimitValue
This class validates backpressure limit configuration values in Magento's admin settings. It ensures that when an administrator saves a backpressure l...
Backpressure\Config\PeriodSource
This class provides a predefined list of time period options (minute, hour, day) for backpressure configuration in Magento's Quote module. Developers...
Backpressure\Config\PeriodValue
This class validates the backpressure period configuration value before it's saved in the Magento admin panel. It ensures that only valid period optio...
Backpressure\OrderLimitConfigManager
This class manages backpressure configuration limits for order placement requests in Magento 2. It determines rate limiting settings based on user ide...
Backpressure\WebapiRequestTypeExtractor
This class identifies checkout-related API requests that require backpressure management to prevent system overload. It specifically monitors placeOrd...
BillingAddressManagement
This class manages billing address operations for shopping carts in Magento 2. Developers use it to assign or retrieve billing addresses for quotes, w...
CartAddressMutex
This class provides thread-safe execution for cart address operations by implementing a mutex (mutual exclusion) lock mechanism. Developers use this t...
CartLockedException
This exception is thrown when a shopping cart is currently locked for processing and cannot be modified. Developers encounter this during checkout or...
CartMutex
This class provides a mutex (mutual exclusion) mechanism for shopping cart operations to prevent race conditions when multiple processes try to modify...
CartSearchResults
This class is a data container that holds the results of shopping cart search operations in Magento 2. Developers use it when implementing cart reposi...
Cart\AddProductsToCart
This class provides a unified service for adding multiple products to a shopping cart in Magento 2. Developers use it when they need to programmatical...
Cart\AddProductsToCartError
This class creates error objects when products cannot be added to a shopping cart, particularly for insufficient stock scenarios. It maps error messag...
Cart\BuyRequest\BuyRequestBuilder
This class constructs a buy request DataObject used when adding products to a shopping cart in Magento 2. Developers use this when programmatically ad...
Cart\BuyRequest\CustomizableOptionDataProvider
This class extracts and processes customizable product options from cart items to prepare them for adding products to the cart. It decodes base64-enco...
Cart\CartTotalManagement
This class manages the collection and calculation of shopping cart totals in Magento 2. Developers use it when they need to update cart totals after s...
Cart\CartTotalRepository
This repository class retrieves and assembles complete cart totals information for a shopping cart. Developers use this when they need to display cart...
Cart\Currency
This class represents currency information for a shopping cart quote in Magento 2. Developers use it to access and manage multiple currency codes (glo...
Cart\CustomerCartResolver
This class retrieves or creates a shopping cart for a logged-in customer and ensures it has a masked ID for security. Developers use this when they ne...
Cart\Data\AddProductsToCartOutput
This is a Data Transfer Object (DTO) that represents the result of adding products to a shopping cart. It encapsulates both the updated cart and any e...
Cart\Data\CartItem
This class serves as a Data Transfer Object (DTO) that represents a shopping cart item with its essential information. Developers use this class when...
Cart\Data\EnteredOption
This class serves as a Data Transfer Object (DTO) that stores custom option values entered by customers when adding products to their shopping cart. D...
Cart\Data\Error
This class represents an error that occurs during cart operations in Magento 2. Developers use it to capture and communicate specific error details in...
Cart\Data\InsufficientStockError
This class represents a specific type of error that occurs when a cart item has insufficient stock quantity available. Developers use this class to ha...
Cart\Data\SelectedOption
This is a Data Transfer Object (DTO) that represents a selected product option in a shopping cart quote item. Developers use this class to pass around...
Cart\ProductReader
This class efficiently loads and retrieves multiple products by their SKUs for cart operations in Magento 2. Developers use this when they need to fet...
Cart\ShippingMethod
This class represents a shipping method option available for a quote/cart in Magento 2. Developers use it to retrieve or set shipping method details l...
Cart\ShippingMethodConverter
This class converts shipping rate models into shipping method data transfer objects (DTOs) for API responses. Developers use it when displaying availa...
Cart\TotalSegment
This class represents a single line item in the shopping cart totals breakdown (like subtotal, shipping, tax, discount). Developers use it to structur...
Cart\Totals
This class represents the cart totals data structure in Magento 2's shopping cart. Developers use it to retrieve or set calculated totals like grand t...
Cart\TotalsAdditionalData
This class serves as a data model for carrying additional information related to shopping cart totals calculations in Magento 2. Developers use this w...
Cart\TotalsAdditionalDataProcessor
This class serves as an extension point for processing additional data related to cart totals in Magento 2. Developers can use plugins or preferences...
Cart\TotalsConverter
This class converts quote address total objects into API-compatible total segment data transfer objects. Developers use this when they need to transfo...
Cart\Totals\Item
This class represents a single cart item's totals information, including prices, quantities, taxes, and discounts in both base and quote currencies. D...
Cart\Totals\ItemConverter
This class converts quote item models into totals item data objects for cart totals display. Developers use it when they need to transform cart items...
ChangeQuoteControl
This class controls whether a user has permission to modify a shopping cart/quote. Developers use it to verify if the current user (customer, guest, a...
Config
This class provides configuration access for inventory checking on quote items. Developers use it to determine whether inventory validation should be...
CouponManagement
This class manages coupon codes for shopping carts (quotes) in Magento 2. Developers use it to retrieve, apply, or remove coupon codes from a customer...
CustomerManagement
This class manages customer-related operations during the quote/checkout process. Developers use it to create new customer accounts from quotes, popul...
EstimateAddress
This class represents a simplified address model used for estimating shipping costs and taxes in the shopping cart without requiring a full customer a...
GuestCart\GuestBillingAddressManagement
This class manages billing addresses for guest shopping carts (non-logged-in customers) in Magento 2. It acts as a wrapper that converts masked cart I...
GuestCart\GuestCartItemRepository
This class manages shopping cart items for guest (non-logged-in) customers in Magento 2. It acts as a wrapper around the standard CartItemRepository,...
GuestCart\GuestCartManagement
This class manages shopping cart operations for guest (non-logged-in) customers in Magento 2. It acts as a facade that translates masked cart IDs (pub...
GuestCart\GuestCartRepository
This repository manages shopping cart retrieval for guest (non-logged-in) customers. It translates the masked cart ID (public identifier used in APIs)...
GuestCart\GuestCartResolver
This class creates and retrieves empty shopping carts for guest (non-logged-in) customers. Developers use it when they need to programmatically initia...
GuestCart\GuestCartTotalManagement
This class manages shopping cart total calculations for guest (non-logged-in) customers. It acts as a proxy that converts the guest's masked cart ID i...
GuestCart\GuestCartTotalRepository
This class retrieves shopping cart totals for guest customers (non-logged-in users) in Magento 2. It serves as a bridge that converts the masked cart...
GuestCart\GuestCouponManagement
This class manages coupon codes for guest shopping carts in Magento 2. It acts as a wrapper that converts masked cart IDs (used by guest customers) in...
GuestCart\GuestPaymentMethodManagement
This class manages payment methods for guest shopping carts in Magento 2. It acts as a proxy that converts masked cart IDs (used by guests) into actua...
GuestCart\GuestShippingAddressManagement
This class manages shipping addresses for guest shopping carts (non-logged-in customers). It acts as a wrapper that converts masked cart IDs (public i...
GuestCart\GuestShippingMethodManagement
This class manages shipping methods for guest (non-logged-in) customers' shopping carts. It acts as a proxy that converts masked cart IDs (used for gu...
MaskedQuoteIdToQuoteId
This class converts a masked (public/guest) quote ID into an actual internal quote ID. Developers use this when working with guest checkout or GraphQL...
PaymentMethodManagement
This class manages payment methods for shopping carts (quotes) in Magento 2. Developers use it to set a payment method on a cart, retrieve the current...
Product\QuoteItemsCleaner
This class removes all quote items associated with a specific product from the database. Developers use this when a product needs to be completely rem...
QueryResolver
This class determines whether the Quote module should use a single database query strategy during checkout operations. It checks if the checkout setup...
Quote
The Quote model represents a shopping cart in Magento 2, managing all cart data including items, addresses, payments, totals, and customer information...
QuoteAddressValidator
This class validates shipping and billing addresses for quotes (shopping carts) in Magento 2. Developers use it to ensure addresses belong to the corr...
QuoteIdMask
This class manages masked (anonymous) quote IDs used for guest checkout sessions in Magento 2. It automatically generates a unique hash identifier whe...
QuoteIdMutex
This class provides a mutex (mutual exclusion) mechanism for quote operations using database row-level locking. Developers use this to prevent race co...
QuoteIdToMaskedQuoteId
This class converts an internal quote ID (integer) to a masked quote ID (string hash) used in guest checkout scenarios. Developers use this when they...
QuoteManagement
QuoteManagement is the core service class for managing shopping cart (quote) operations in Magento 2. Developers use this class to create empty carts...
QuoteMutex
This class provides thread-safe quote operations by implementing database-level locking using the quote_id_mask table. Developers use this to prevent...
QuoteRepository
This repository class manages shopping cart (quote) data operations in Magento 2. Developers use it to retrieve, save, and delete quotes by cart ID or...
QuoteRepository\LoadHandler
This class handles the loading and enrichment of quote (shopping cart) data after it's retrieved from the repository. It populates extension attribute...
QuoteRepository\SaveHandler
This class handles the complete save operation for shopping cart quotes in Magento 2. It orchestrates saving all quote components including cart items...
QuoteValidator
This class validates shopping cart quotes before checkout or order placement. Developers use it to ensure quote amounts don't exceed system limits and...
Quote\Address
The Address class manages quote (shopping cart) addresses in Magento 2, handling both billing and shipping address data, items associated with each ad...
Quote\Address\BillingAddressPersister
This class handles saving billing addresses to quotes in Magento 2. Developers use it when processing checkout operations to persist customer billing...
Quote\Address\CustomAttributeList
This class provides a mechanism for retrieving custom attributes that can be added to quote addresses in Magento 2. Developers would extend or plugin...
Quote\Address\FreeShipping
This class provides a default implementation of the FreeShippingInterface that always returns false, indicating that free shipping is not applicable....
Quote\Address\Item
This class represents a quote item within a specific shipping/billing address in Magento 2's cart system. Developers use it when working with multi-ad...
Quote\Address\Rate
This model represents a shipping rate option for a quote address during checkout. Developers use this class to store and manage individual shipping me...
Quote\Address\RateRequest
This class represents a shipping rate request object that contains all necessary information for calculating shipping costs. Developers use it to pass...
Quote\Address\Relation
This class manages the persistence of related data for quote addresses in Magento 2. When a quote address is saved, it ensures that associated items (...
Quote\Address\ShippingAddressPersister
This class handles saving and persisting shipping addresses for shopping cart quotes. Developers use it when updating a customer's shipping address du...
Quote\Address\ToOrder
This converter class transforms a Quote Address object into an Order object during the checkout process. Developers would use this when implementing c...
Quote\Address\ToOrderAddress
This class converts Quote Address objects into Order Address objects during the checkout process when a quote transitions to an order. Developers use...
Quote\Address\Total
This class manages and tracks various total amounts (subtotal, tax, shipping, discounts, etc.) for a quote address during checkout calculations. Devel...
Quote\Address\Validator
This validator class checks if a quote address has valid data before processing. Developers use this when validating shipping or billing addresses dur...
Quote\Config
This class provides configuration access for quote-related product attributes in Magento 2. Developers use it to retrieve the list of product attribut...
Quote\Item
This model represents a single item in a shopping cart (quote). Developers use this class when working with cart items - adding products to cart, upda...
Quote\Item\AbstractItem
AbstractItem is the base model for quote items in Magento 2, representing products added to a customer's shopping cart. Developers use this class to a...
Quote\Item\CartItemOptionsProcessor
This class processes and manages cart item options, including custom options and product-type-specific configurations. Developers use it when they nee...
Quote\Item\CartItemPersister
This class handles the persistence of cart items into a shopping cart (quote). Developers use it when they need to programmatically add new items to a...
Quote\Item\CartItemProcessorsPool
This deprecated class manages a pool of cart item processors that transform or modify cart items during quote operations. It retrieves processor confi...
Quote\Item\Compare
This class compares two quote items to determine if they represent the same product with identical options. Developers use this when adding products t...
Quote\Item\Option
This class represents customizable options and configuration data for individual items in a shopping cart quote. Developers use it to store and retrie...
Quote\Item\Processor
This processor class handles the initialization and preparation of quote items when products are added to a shopping cart. Developers use this class t...
Quote\Item\RelatedProducts
This class identifies related products in a shopping cart that have special relationships with cart items, such as configurable or bundled products. D...
Quote\Item\Repository
This repository manages quote (shopping cart) items in Magento 2, providing operations to retrieve all items in a cart, add or update items, and remov...
Quote\Item\ToOrderItem
This class converts quote items (shopping cart items) into order items during the checkout process. Developers use this class when they need to transf...
Quote\Item\Updater
The Updater class handles modifications to quote items in the shopping cart, primarily updating quantities and custom prices. Developers use this when...
Quote\Payment
This class manages payment information for shopping cart quotes in Magento 2. Developers use it to store, validate, and retrieve payment method detail...
Quote\Payment\ToOrderPayment
This class converts quote payment data into order payment data during the checkout process when a quote is being converted to an order. Developers use...
Quote\ProductOption
This class represents product options associated with quote items in Magento 2. Developers use it to store and retrieve custom product configuration d...
Quote\QuantityCollector
This class calculates and updates the total quantities of items in a shopping cart quote. It tracks the total number of items, total quantity of all i...
Quote\Relation
This class manages the saving of related collections when a Quote is saved in Magento 2. It automatically persists associated addresses, items, and pa...
Quote\ShippingAssignment\ShippingAssignmentPersister
This class handles the persistence of shipping assignments to a quote/cart in Magento 2. Developers use this when they need to save shipping informati...
Quote\ShippingAssignment\ShippingAssignmentProcessor
This class manages the creation and persistence of shipping assignments for quotes (shopping carts). Developers use it to create shipping assignment o...
Quote\ShippingAssignment\ShippingProcessor
This class processes shipping information for quotes (shopping carts) by creating and saving shipping data. Developers use it to handle shipping assig...
Quote\TotalsCollector
This class orchestrates the calculation of all quote totals (subtotals, discounts, taxes, shipping, grand total) in Magento 2. Developers interact wit...
Quote\TotalsCollectorList
This class manages the list of total collectors used to calculate various totals (subtotal, tax, shipping, discounts, etc.) for a shopping cart quote....
Quote\TotalsReader
This class is responsible for reading and collecting all quote totals (subtotal, tax, shipping, discounts, grand total, etc.) from various total colle...
ResourceModel\LoadQuoteByIdMutex
This class provides thread-safe loading of one or more quote entities by their IDs using database-level row locking. Developers use this when they nee...
ResourceModel\Quote
This resource model handles all database operations for shopping cart quotes in Magento 2. Developers use this class to load quotes by customer ID, ma...
ResourceModel\QuoteItemRetriever
This class retrieves a quote item by its ID from the database. Developers use it when they need to load a specific shopping cart item and want built-i...
ResourceModel\Quote\Address
This resource model handles database operations for quote addresses (shipping and billing addresses during checkout). Developers use this class when t...
ResourceModel\Quote\Item
This resource model manages database operations for quote items in Magento 2's shopping cart. Developers use this class when they need to persist quot...
ResourceModel\Quote\Payment
This resource model manages database operations for quote payment information in Magento 2. It handles storing and retrieving payment method data asso...
ResourceModel\Quote\QuoteIdMask
This resource model manages the quote_id_mask database table, which stores masked (anonymized) identifiers for shopping cart quotes. Developers use th...
Shipping
This model represents shipping information for a quote (shopping cart) in Magento 2. Developers use this class to store and retrieve the shipping addr...
ShippingAddressAssignment
This class manages the assignment of shipping addresses to quotes (shopping carts) in Magento 2. Developers use it when they need to set or update a q...
ShippingAddressManagement
This class manages shipping addresses for shopping carts in Magento 2. Developers use it to programmatically assign or retrieve shipping addresses for...
ShippingAssignment
This class represents a shipping assignment in a Magento 2 quote, grouping together shipping information with the quote items that will be shipped tog...
ShippingMethodManagement
This class manages shipping methods for shopping carts in Magento 2. Developers use it to retrieve available shipping methods, set a shipping method o...
SubmitQuoteValidator
This class validates both quotes and orders during the quote submission process before an order is created. Developers use this validator to ensure th...
ValidationRules\AllowedCountryValidationRule
This validation rule checks if the shipping address country in a quote is allowed for the store. Developers would use this class when implementing quo...
ValidationRules\BillingAddressValidationRule
This validation rule ensures that a quote's billing address contains valid data before checkout or order placement. Developers use this class as part...
ValidationRules\MinimumAmountValidationRule
This validation rule checks if a quote (shopping cart) meets the store's minimum order amount requirement. Developers use this class as part of the qu...
ValidationRules\PaymentMethodValidationRule
This validation rule ensures that a quote has a valid payment method selected before proceeding with checkout. Developers use this class as part of th...
ValidationRules\QuoteValidationComposite
This class aggregates multiple quote validation rules and executes them together. Developers use it to run a collection of validation checks on a shop...
ValidationRules\ShippingAddressValidationRule
This validation rule checks if a quote's shipping address is valid before checkout. Developers use this class as part of Magento's quote validation pi...
ValidationRules\ShippingMethodValidationRule
This validation rule ensures that a quote has a valid shipping method selected before checkout. Developers use this class as part of the quote validat...
Webapi\ParamOverriderCartId
This class automatically replaces the placeholder '%cart_id%' in Web API requests with the actual cart ID of the currently authenticated customer. Dev...