Checkout Module
AddProductToCart
This class provides a thread-safe way to add products to a shopping cart in Magento 2. It uses mutex locking to prevent race conditions when multiple...
AddressComparator
This class compares two quote addresses to determine if they are equal. Developers use this when they need to check if a customer's billing or shippin...
Adminhtml\BillingAddressDisplayOptions
This class provides configuration options for determining where the billing address form appears during checkout - either on the payment method select...
AgreementsValidator
This is a default implementation of the agreements validator that always returns true, effectively skipping validation. Developers would override or p...
Backpressure\WebapiRequestTypeExtractor
This class identifies checkout requests that require backpressure management to prevent system overload. It specifically monitors the 'savePaymentInfo...
CaptchaPaymentProcessingRateLimiter
This class implements rate limiting for payment processing requests using CAPTCHA verification. Developers would use this to prevent abuse and automat...
CaptchaPaymentSavingRateLimiter
This class implements rate limiting for payment and billing/shipping information saving during checkout using CAPTCHA verification. Developers would u...
CaptchaRateLimiter
This class implements rate limiting for checkout operations using CAPTCHA validation. Developers use it to prevent automated abuse by requiring CAPTCH...
Cart
The Cart model manages the shopping cart functionality in Magento 2, providing methods to add, update, and remove products from the cart, as well as m...
Cart\CheckoutSummaryConfigProvider
This configuration provider supplies checkout summary display settings to the frontend, specifically controlling how many cart items to show in the su...
Cart\CollectQuote
This class handles the collection and calculation of quote totals for logged-in customers during cart operations. It automatically retrieves the custo...
Cart\ImageProvider
This class retrieves product images for items in a shopping cart. Developers use it when they need to display product thumbnails in the mini cart, che...
Cart\RequestInfoFilter
This class filters sensitive or unwanted data from shopping cart request parameters before processing. Developers can configure which specific request...
Cart\RequestInfoFilterComposite
This class implements a composite pattern to apply multiple request information filters when processing cart operations. Developers use this to chain...
Cart\RequestQuantityProcessor
This class processes product quantity values from shopping cart requests, handling locale-specific number formatting. Developers use it to ensure quan...
CompositeConfigProvider
This class aggregates configuration data from multiple checkout configuration providers into a single array. Developers use this to extend checkout co...
DefaultConfigProvider
This class provides default configuration data for Magento 2's checkout process. Developers use it to understand what data is available on the checkou...
GuestPaymentInformationManagement
This class manages payment information and order placement for guest (non-logged-in) customers during checkout. Developers use this when processing gu...
GuestShippingInformationManagement
This class handles saving shipping information (address and method) for guest checkout sessions. It acts as a wrapper that converts the guest's masked...
GuestTotalsInformationManagement
This class calculates shopping cart totals for guest (non-logged-in) customers during checkout. It acts as a wrapper that converts a guest's masked ca...
Layout\AbstractTotalsProcessor
This abstract class provides base functionality for processing and sorting checkout totals (like subtotal, tax, shipping, grand total) based on store...
Layout\DepersonalizePlugin
This plugin handles depersonalization of checkout session data for Full Page Cache (FPC). It preserves the quote ID while clearing other sensitive cus...
PaymentCaptchaConfigProvider
This class provides CAPTCHA configuration for the checkout payment process to the frontend. Developers use this to determine if CAPTCHA should be disp...
PaymentDetails
This model class serves as a data container for payment-related information during the checkout process. It holds available payment methods and cart t...
PaymentInformationManagement
This class manages payment information during checkout, handling the saving of payment methods and billing addresses, then placing the order. Develope...
ResourceModel\Cart
This resource model provides database operations for the shopping cart (quote) in Magento 2. Developers use it to retrieve cart summary data (item qua...
Session
The Checkout Session class manages the shopping cart state and quote data during the checkout process. Developers use this to retrieve the active quot...
Session\SuccessValidator
This class validates whether the checkout session is valid for displaying the order success page. Developers use this to ensure that users can only ac...
ShippingInformation
This class is a data transfer object (DTO) that holds shipping information during checkout, including shipping and billing addresses, shipping method...
ShippingInformationManagement
This class manages the saving of shipping and billing address information during checkout. Developers use this when implementing custom checkout flows...
Sidebar
This deprecated class manages sidebar shopping cart operations in Magento 2, including adding, updating, and removing quote items. Developers would us...
StoreSwitcher\RedirectDataPostprocessor
This class handles the transfer of shopping cart (quote) data when a customer switches between different store views in Magento. It ensures that guest...
StoreSwitcher\RedirectDataPreprocessor
This class handles checkout data preservation when a customer switches between store views in Magento 2. It ensures that guest customers' active shopp...
TotalsInformation
This model is a data transfer object that encapsulates shipping information needed to calculate quote totals during checkout. Developers use it to pas...
TotalsInformationManagement
This class manages the calculation of shopping cart totals during checkout by processing address and shipping information. Developers use this when th...
Type\Onepage
This class manages the one-page checkout process in Magento 2, handling the complete checkout flow from initialization through order placement. Develo...