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...
Api\AgreementsValidatorInterface
This interface defines a contract for validating checkout agreements (terms and conditions) during the checkout process. Developers implement this int...
Api\Data\PaymentDetailsInterface
This interface defines the contract for payment details data structure during checkout, containing available payment methods and cart totals. Develope...
Api\Data\ShippingInformationInterface
This interface defines the contract for shipping information objects used during Magento 2 checkout. Developers use it when building custom checkout i...
Api\Data\TotalsInformationInterface
This interface defines the structure for totals information data objects used during checkout. Developers use this when they need to pass shipping add...
Api\Exception\PaymentProcessingRateLimitExceededException
This exception is thrown when a customer attempts to process or save payment information too many times within a short period, triggering Magento's ra...
Api\GuestPaymentInformationManagementInterface
This interface defines the API contract for managing payment information and placing orders for guest (non-logged-in) customers during checkout. Devel...
Api\GuestShippingInformationManagementInterface
This interface defines the contract for saving shipping address and shipping method information for guest customers during checkout. Developers use th...
Api\GuestTotalsInformationManagementInterface
This interface defines the contract for calculating cart totals for guest (non-logged-in) customers during checkout. Developers use this to retrieve u...
Api\PaymentInformationManagementInterface
This interface defines the contract for managing payment information during checkout in Magento 2. Developers use this to save payment details to a ca...
Api\PaymentProcessingRateLimiterInterface
This interface defines a rate limiter for payment processing operations in Magento 2 checkout. Developers implement this interface to prevent abuse by...
Api\PaymentSavingRateLimiterInterface
This interface defines a rate limiter for payment method saving operations during checkout. Developers implement this interface to prevent abuse by li...
Api\ShippingInformationManagementInterface
This interface defines the contract for saving customer shipping address and shipping method information during checkout. Developers use this to updat...
Api\TotalsInformationManagementInterface
This interface defines the contract for calculating shopping cart totals during checkout. Developers use this when they need to recalculate quote tota...
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
This helper class provides utility methods for working with the shopping cart in Magento 2. Developers use it to generate URLs for cart operations (ad...
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...
Data
This helper class provides utility methods for checkout operations in Magento 2. Developers use it to access checkout session data, format prices, cal...
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...
ExpressRedirect
This helper class manages the redirect flow when customers need to log in during express checkout processes (like PayPal Express). Developers use this...
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...
Model\AddressComparatorInterface
This interface defines a contract for comparing two quote addresses to determine if they are equal. Developers would implement this interface when the...
Model\Cart\CartInterface
This interface defines the contract for managing a shopping cart in Magento 2. Developers would implement this interface to add products to cart, save...
Model\Cart\RequestInfoFilterInterface
This interface defines a contract for filtering shopping cart request data before processing. Developers implement this interface to create custom fil...
Model\ConfigProviderInterface
This interface defines a contract for classes that provide configuration data to the checkout process. Developers implement this interface to inject c...
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...