Log in

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...

Api\AgreementsValidatorInterface

Interface

This interface defines a contract for validating checkout agreements (terms and conditions) during the checkout process. Developers implement this int...

Api\Data\PaymentDetailsInterface

Interface

This interface defines the contract for payment details data structure during checkout, containing available payment methods and cart totals. Develope...

Api\Data\ShippingInformationInterface

Interface

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

Interface

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

Other

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

Interface

This interface defines the API contract for managing payment information and placing orders for guest (non-logged-in) customers during checkout. Devel...

Api\GuestShippingInformationManagementInterface

Interface

This interface defines the contract for saving shipping address and shipping method information for guest customers during checkout. Developers use th...

Api\GuestTotalsInformationManagementInterface

Interface

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

Interface

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

Interface

This interface defines a rate limiter for payment processing operations in Magento 2 checkout. Developers implement this interface to prevent abuse by...

Api\PaymentSavingRateLimiterInterface

Interface

This interface defines a rate limiter for payment method saving operations during checkout. Developers implement this interface to prevent abuse by li...

Api\ShippingInformationManagementInterface

Interface

This interface defines the contract for saving customer shipping address and shipping method information during checkout. Developers use this to updat...

Api\TotalsInformationManagementInterface

Interface

This interface defines the contract for calculating shopping cart totals during checkout. Developers use this when they need to recalculate quote tota...

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

Helper

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

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...

Data

Helper

This helper class provides utility methods for checkout operations in Magento 2. Developers use it to access checkout session data, format prices, cal...

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...

ExpressRedirect

Helper

This helper class manages the redirect flow when customers need to log in during express checkout processes (like PayPal Express). Developers use this...

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...

Model\AddressComparatorInterface

Interface

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

Interface

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

Interface

This interface defines a contract for filtering shopping cart request data before processing. Developers implement this interface to create custom fil...

Model\ConfigProviderInterface

Interface

This interface defines a contract for classes that provide configuration data to the checkout process. Developers implement this interface to inject c...

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...