Checkout Module

AddProductToCart

Model

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

Model

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

Model

This class provides configuration options for determining where the billing address form appears during checkout - either on the payment method select...

AgreementsValidator

Model

This is a default implementation of the agreements validator that always returns true, effectively skipping validation. Developers would override or p...

Backpressure\WebapiRequestTypeExtractor

Model

This class identifies checkout requests that require backpressure management to prevent system overload. It specifically monitors the 'savePaymentInfo...

CaptchaPaymentProcessingRateLimiter

Model

This class implements rate limiting for payment processing requests using CAPTCHA verification. Developers would use this to prevent abuse and automat...

CaptchaPaymentSavingRateLimiter

Model

This class implements rate limiting for payment and billing/shipping information saving during checkout using CAPTCHA verification. Developers would u...

CaptchaRateLimiter

Model

This class implements rate limiting for checkout operations using CAPTCHA validation. Developers use it to prevent automated abuse by requiring CAPTCH...

Cart

Model

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

Model

This configuration provider supplies checkout summary display settings to the frontend, specifically controlling how many cart items to show in the su...

Cart\CollectQuote

Model

This class handles the collection and calculation of quote totals for logged-in customers during cart operations. It automatically retrieves the custo...

Cart\ImageProvider

Model

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

Model

This class filters sensitive or unwanted data from shopping cart request parameters before processing. Developers can configure which specific request...

Cart\RequestInfoFilterComposite

Model

This class implements a composite pattern to apply multiple request information filters when processing cart operations. Developers use this to chain...

Cart\RequestQuantityProcessor

Model

This class processes product quantity values from shopping cart requests, handling locale-specific number formatting. Developers use it to ensure quan...

CompositeConfigProvider

Model

This class aggregates configuration data from multiple checkout configuration providers into a single array. Developers use this to extend checkout co...

DefaultConfigProvider

Model

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

Model

This class manages payment information and order placement for guest (non-logged-in) customers during checkout. Developers use this when processing gu...

GuestShippingInformationManagement

Model

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

Model

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

Model

This abstract class provides base functionality for processing and sorting checkout totals (like subtotal, tax, shipping, grand total) based on store...

Layout\DepersonalizePlugin

Model

This plugin handles depersonalization of checkout session data for Full Page Cache (FPC). It preserves the quote ID while clearing other sensitive cus...

PaymentCaptchaConfigProvider

Model

This class provides CAPTCHA configuration for the checkout payment process to the frontend. Developers use this to determine if CAPTCHA should be disp...

PaymentDetails

Model

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

Model

This class manages payment information during checkout, handling the saving of payment methods and billing addresses, then placing the order. Develope...

ResourceModel\Cart

Model

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

Model

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

Model

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

Model

This class is a data transfer object (DTO) that holds shipping information during checkout, including shipping and billing addresses, shipping method...

ShippingInformationManagement

Model

This class manages the saving of shipping and billing address information during checkout. Developers use this when implementing custom checkout flows...

Sidebar

Model

This deprecated class manages sidebar shopping cart operations in Magento 2, including adding, updating, and removing quote items. Developers would us...

StoreSwitcher\RedirectDataPostprocessor

Model

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

Model

This class handles checkout data preservation when a customer switches between store views in Magento 2. It ensures that guest customers' active shopp...

TotalsInformation

Model

This model is a data transfer object that encapsulates shipping information needed to calculate quote totals during checkout. Developers use it to pas...

TotalsInformationManagement

Model

This class manages the calculation of shopping cart totals during checkout by processing address and shipping information. Developers use this when th...

Type\Onepage

Model

This class manages the one-page checkout process in Magento 2, handling the complete checkout flow from initialization through order placement. Develo...