Log in

Quote Module

Quote\Collection

Collection

This collection class is used to retrieve and work with multiple quote (shopping cart) records from the database. D...

CartItemFactory

Factory

This factory class creates CartItem data transfer objects (DTOs) from array data, ensuring all required fields like...

RateCollectorInterfaceFactory

Factory

This factory class creates instances of RateCollectorInterface, which is responsible for collecting shipping rates...

TotalFactory

Factory

This factory class creates instances of quote address total objects in Magento 2. Developers use this when they nee...

BillingAddressManagementInterface

Interface

This interface defines the contract for managing billing addresses in Magento 2 shopping carts (quotes). Developers...

CartManagementInterface

Interface

This interface defines the core shopping cart management operations in Magento 2. Developers use this to create emp...

CartTotalManagementInterface

Interface

This interface defines a service contract for collecting and calculating cart totals in Magento 2. Developers use t...

ChangeQuoteControlInterface

Interface

This interface defines a contract for checking whether a user has permission to modify a shopping cart (quote) in M...

CouponManagementInterface

Interface

This interface defines the contract for managing coupon codes in shopping carts. Developers use this service to ret...

AddressAdditionalDataInterface

Interface

This interface defines the contract for handling additional data that can be attached to quote addresses in Magento...

AddressInterface

Interface

This interface defines the contract for managing address data in Magento 2 quotes (shopping carts). Developers use...

CartInterface

Interface

This interface defines the contract for a shopping cart (quote) in Magento 2. Developers use it to interact with ca...

CartItemInterface

Interface

This interface defines the data structure for shopping cart items in Magento 2. Developers use this when working wi...

CartSearchResultsInterface

Interface

This interface defines the contract for search results when querying shopping carts (quotes) in Magento 2. Develope...

CurrencyInterface

Interface

This interface defines the contract for managing currency information within a shopping cart quote in Magento 2. De...

EstimateAddressInterface

Interface

This interface defines a lightweight address data structure used specifically for estimating shipping costs and tax...

PaymentInterface

Interface

This interface defines the contract for payment data objects in Magento 2 quotes (shopping carts). Developers use t...

PaymentMethodInterface

Interface

This interface defines the contract for payment method data objects in Magento 2's quote system. Developers use thi...

ProductOptionInterface

Interface

This interface defines the contract for product options in a shopping cart quote. Developers use this when they nee...

ShippingAssignmentInterface

Interface

This interface defines the structure for shipping assignments in Magento 2 quotes. It links shipping information wi...

ShippingInterface

Interface

This interface defines the contract for shipping data objects in Magento 2's quote system. Developers use this inte...

ShippingMethodInterface

Interface

This interface defines the data structure for shipping methods available in a Magento 2 quote. Developers use it to...

TotalsAdditionalDataInterface

Interface

This interface defines a contract for passing additional data when collecting quote totals in Magento 2. Developers...

TotalSegmentInterface

Interface

This interface defines the structure for individual segments of a shopping cart's total calculation in Magento 2. E...

TotalsInterface

Interface

This interface defines the contract for accessing and managing shopping cart totals in Magento 2. Developers use th...

TotalsItemInterface

Interface

This interface defines the contract for shopping cart item totals data in Magento 2. Developers use it when working...

ErrorInterface

Interface

This interface defines the contract for error objects in Magento 2's Quote module. Developers use this when handlin...

GuestBillingAddressManagementInterface

Interface

This interface defines methods for managing billing addresses in guest shopping carts (customers who haven't logged...

GuestCartManagementInterface

Interface

This interface defines the contract for managing shopping carts for guest (non-logged-in) customers in Magento 2. D...

GuestCartTotalManagementInterface

Interface

This interface defines the API contract for collecting and calculating shopping cart totals for guest customers (no...

GuestCouponManagementInterface

Interface

This interface defines the API contract for managing discount coupons in guest shopping carts (carts for non-logged...

GuestPaymentMethodManagementInterface

Interface

This interface defines payment method management operations for guest (non-logged-in) shopping carts in Magento 2....

GuestShipmentEstimationInterface

Interface

This interface is used to estimate shipping costs and methods for guest customers (non-logged-in users) during chec...

GuestShippingMethodManagementInterface

Interface

This interface defines the contract for managing shipping methods for guest customers (non-logged-in users) in Mage...

PaymentMethodManagementInterface

Interface

This interface defines the contract for managing payment methods in shopping carts. Developers use it to set a paym...

ShipmentEstimationInterface

Interface

This interface defines a contract for estimating shipping costs and available shipping methods for a shopping cart...

ShippingMethodManagementInterface

Interface

This interface defines the contract for managing shipping methods in Magento 2 quotes/carts. Developers use this to...

CartAddressMutexInterface

Interface

This interface defines a contract for preventing race conditions when multiple requests try to modify quote address...

BuyRequestDataProviderInterface

Interface

This interface defines a contract for classes that transform cart item data into buy request parameters required by...

CartMutexInterface

Interface

This interface defines a mutual exclusion (mutex) mechanism for cart/quote operations in Magento 2. Developers use...

ProductReaderInterface

Interface

This interface defines a contract for loading and retrieving products in the shopping cart context. Developers use...

GuestShippingAddressManagementInterface

Interface

This interface defines the contract for managing shipping addresses in guest shopping carts (non-logged-in customer...

GuestShippingMethodManagementInterface

Interface

This interface defines the contract for managing shipping methods on guest shopping carts (carts for users who are...

MaskedQuoteIdToQuoteIdInterface

Interface

This interface defines a contract for converting a masked (public) quote ID into an actual quote entity ID. Develop...

QuoteItemsCleanerInterface

Interface

This interface defines a contract for cleaning or removing quote items associated with a specific product. Develope...

CustomAttributeListInterface

Interface

This interface defines a contract for retrieving custom attributes that can be added to quote addresses in Magento...

FreeShippingInterface

Interface

This interface defines a contract for determining whether free shipping should be applied to a quote in Magento 2....

RateCollectorInterface

Interface

This interface defines a contract for collecting shipping rates for a quote address in Magento 2. Developers implem...

QuoteIdToMaskedQuoteIdInterface

Interface

This interface defines a contract for converting a numeric quote ID into a masked (hashed) quote ID string. Develop...

CartItemProcessorInterface

Interface

This interface defines a contract for processing cart items in Magento 2's quote system. Developers implement this...

QuoteMutexInterface

Interface

This interface defines a mutex (mutual exclusion) mechanism for shopping cart quotes in Magento 2. Developers use t...

ShippingAddressManagementInterface

Interface

This interface defines methods for managing shipping addresses in shopping carts. Developers use this to assign a s...

ShippingMethodManagementInterface

Interface

This interface defines the contract for managing shipping methods on shopping carts in Magento 2. Developers use th...

QuoteValidationRuleInterface

Interface

This interface defines a contract for implementing validation rules on Magento 2 shopping cart quotes. Developers w...

AddressAdditionalData

Model

This class provides a container for additional address data in Magento 2 quotes. Developers use this model when the...

AddressAdditionalDataProcessor

Model

This class serves as a placeholder processor for handling additional data associated with quote addresses in Magent...

LimitValue

Model

This class validates the backpressure limit configuration value in Magento's Quote module before it's saved to the...

PeriodSource

Model

This class provides time period options for backpressure configuration in the Quote module. It returns an array of...

PeriodValue

Model

This class validates the backpressure period configuration value before it's saved to the database. It ensures that...

OrderLimitConfigManager

Model

This class manages backpressure (rate limiting) configuration for order placement in Magento 2. Developers use it t...

WebapiRequestTypeExtractor

Model

This class identifies checkout-related web API requests that require backpressure management to prevent system over...

BillingAddressManagement

Model

This class manages billing address operations for shopping cart quotes in Magento 2. Developers use it to assign a...

AddProductsToCart

Model

This class provides a unified service for adding multiple products to a shopping cart in Magento 2. Developers use...

AddProductsToCartError

Model

This class creates standardized error objects when products fail to be added to the shopping cart in Magento 2. Dev...

CartAddressMutex

Model

This class provides thread-safe execution for cart address operations by implementing a mutex (mutual exclusion) lo...

BuyRequestBuilder

Model

This class constructs buy request objects that contain all necessary product information when adding items to a sho...

CustomizableOptionDataProvider

Model

This class processes customizable product options from GraphQL cart items and converts them into a format suitable...

CartTotalManagement

Model

This class manages the calculation and collection of shopping cart totals in Magento 2. Developers use it to update...

CartTotalRepository

Model

This class retrieves and calculates the complete totals information for a shopping cart, including item prices, tax...

Currency

Model

This class represents currency information for a shopping cart quote in Magento 2. Developers use it to access and...

CustomerCartResolver

Model

This class retrieves or creates a shopping cart for a logged-in customer and ensures it has a masked ID for secure...

AddProductsToCartOutput

Model

This class serves as a Data Transfer Object (DTO) that encapsulates the result of adding products to a shopping car...

CartItem

Model

This is a Data Transfer Object (DTO) that represents a shopping cart item in Magento 2. Developers use this class t...

EnteredOption

Model

This is a Data Transfer Object (DTO) that represents a custom option entered by a customer for a quote item, such a...

Error

Model

This class serves as a Data Transfer Object (DTO) that represents error information related to shopping cart items...

InsufficientStockError

Model

This class represents an error that occurs when a customer tries to add more items to their cart than are available...

SelectedOption

Model

This is a Data Transfer Object (DTO) that represents a selected product option for items in a shopping cart quote....

CartLockedException

Model

CartLockedException is a custom exception thrown when a shopping cart is currently locked and cannot be modified. D...

CartMutex

Model

CartMutex provides a locking mechanism to prevent concurrent modifications to a shopping cart. Developers use this...

ProductReader

Model

This class is responsible for efficiently loading and retrieving product data for cart operations in Magento 2. It...

CartSearchResults

Model

This class serves as a data transfer object (DTO) that holds search results when querying for shopping carts in Mag...

ShippingMethod

Model

This class represents a shipping method data object for a quote/cart in Magento 2. Developers use it to store and r...

ShippingMethodConverter

Model

The ShippingMethodConverter class transforms shipping rate models into standardized shipping method data objects th...

Totals

Model

This class represents the shopping cart totals data structure in Magento 2, storing all calculated amounts like gra...

TotalsAdditionalData

Model

This class serves as a data container for additional information related to shopping cart totals in Magento 2. It i...

TotalsAdditionalDataProcessor

Model

This class serves as an extension point for processing additional data related to shopping cart totals in Magento 2...

TotalsConverter

Model

The TotalsConverter class transforms cart total calculations from the Address Total model format into API-compatibl...

TotalSegment

Model

This class represents a single segment (line item) of a shopping cart's totals, such as subtotal, shipping, tax, or...

Item

Model

This class represents a single item's totals data in a shopping cart quote. Developers use it to retrieve or set pr...

ItemConverter

Model

This class converts Magento 2 quote item models into totals item data objects for API responses. Developers use thi...

ChangeQuoteControl

Model

This class determines whether the current user has permission to modify a shopping cart (quote) in Magento 2. It ch...

Config

Model

This configuration class provides access to the inventory check setting for quote items in Magento 2. Developers us...

CouponManagement

Model

This class manages coupon codes for shopping carts in Magento 2. Developers use it to apply, retrieve, or remove di...

CustomerManagement

Model

This class manages customer-related operations during the quote/checkout process in Magento 2. Developers use it to...

EstimateAddress

Model

This class represents a simplified address model used for estimating shipping costs and taxes in the shopping cart...

GuestBillingAddressManagement

Model

This class manages billing addresses for guest shopping carts in Magento 2. It acts as a proxy that converts masked...

GuestCartItemRepository

Model

This class manages shopping cart items for guest (non-logged-in) customers in Magento 2. It acts as a wrapper aroun...

GuestCartManagement

Model

This class manages shopping cart operations for guest (non-logged-in) customers in Magento 2. It acts as a wrapper...

GuestCartRepository

Model

This class manages shopping cart retrieval for guest (non-logged-in) customers in Magento 2. It converts masked car...

GuestCartResolver

Model

This class creates and manages empty shopping carts for guest (non-logged-in) customers in Magento 2. Developers us...

GuestCartTotalManagement

Model

This class handles cart total calculations for guest customers (non-logged-in users) in Magento 2. It acts as a bri...

GuestCartTotalRepository

Model

This class retrieves shopping cart totals for guest customers (non-logged-in users) in Magento 2. It serves as a br...

GuestCouponManagement

Model

This class manages coupon codes for guest shopping carts in Magento 2. It acts as a wrapper that converts masked ca...

GuestPaymentMethodManagement

Model

This class manages payment methods for guest shopping carts in Magento 2. It serves as a wrapper that converts mask...

GuestShippingAddressManagement

Model

This class manages shipping addresses for guest shopping carts (customers not logged in). It acts as a wrapper that...

GuestShippingMethodManagement

Model

This class manages shipping methods for guest customers' shopping carts in Magento 2. Developers use it to retrieve...

MaskedQuoteIdToQuoteId

Model

This class converts a masked (public) quote ID into an actual (internal) quote ID. Developers use this when working...

PaymentMethodManagement

Model

This class manages payment methods for shopping carts (quotes) in Magento 2. Developers use it to set a payment met...

QuoteItemsCleaner

Model

This class removes all quote items associated with a specific product from the shopping cart database. Developers w...

QueryResolver

Model

This class determines whether Magento should use a single database query or multiple queries during checkout operat...

Quote

Model

The Quote model represents a shopping cart in Magento 2. Developers use this class to manage cart operations like a...

Address

Model

The Quote Address class manages address information and calculations for both billing and shipping addresses in a s...

BillingAddressPersister

Model

This class handles saving billing address information to a shopping cart quote in Magento 2. Developers use it when...

CustomAttributeList

Model

This class provides a default implementation for retrieving custom attributes for quote addresses in Magento 2. Dev...

FreeShipping

Model

This class implements the FreeShippingInterface and determines whether free shipping should be applied to a quote....

Item

Model

This class represents an individual product item within a specific quote address (shipping or billing) in Magento 2...

Rate

Model

This class represents a shipping rate option for a quote address in Magento 2. Developers use it to store and manag...

RateRequest

Model

RateRequest is a data container model used to collect and pass shipping calculation parameters to shipping carriers...

Relation

Model

This class handles saving related data (items and shipping rates) when a quote address is saved in Magento 2. Devel...

ShippingAddressPersister

Model

This class handles the persistence of shipping addresses for quotes (shopping carts) in Magento 2. Developers use t...

ToOrder

Model

This converter class transforms a Quote Address object into a Sales Order object during the checkout process. Devel...

ToOrderAddress

Model

This class converts a Quote Address object into an Order Address object during the checkout process. Developers use...

Total

Model

This class manages and calculates total amounts for quote addresses in Magento 2, such as subtotals, taxes, shippin...

Validator

Model

This validator class checks whether a quote shipping or billing address contains valid data before it's saved. Deve...

QuoteAddressValidator

Model

QuoteAddressValidator validates shipping and billing addresses in shopping carts (quotes). Developers use this clas...

Config

Model

This class provides configuration for quote-related operations, specifically managing which product attributes shou...

QuoteIdMask

Model

This class manages masked IDs for shopping cart quotes in Magento 2, primarily used for guest checkout scenarios. I...

QuoteIdMutex

Model

This class provides thread-safe locking for quote operations in Magento 2 using database-level row locking. Develop...

QuoteIdToMaskedQuoteId

Model

This class converts internal quote IDs into masked (public) quote IDs in Magento 2. Developers use this when they n...

Item

Model

The Quote Item class represents a single product or item in a shopping cart (quote) before it becomes an order. Dev...

AbstractItem

Model

This abstract class serves as the foundation for all quote item types in Magento 2's shopping cart system. Develope...

CartItemOptionsProcessor

Model

This class manages the conversion and processing of shopping cart item options in Magento 2. Developers use it to h...

CartItemPersister

Model

CartItemPersister handles saving and updating items in a shopping cart (quote). Developers use this class when they...

CartItemProcessorsPool

Model

This deprecated class was used to manage and retrieve cart item processors that handle special processing logic for...

Compare

Model

This class is used to compare two quote items to determine if they represent the same product with the same configu...

Option

Model

This class represents a single option attached to a quote item in the shopping cart, such as custom product configu...

Processor

Model

The Processor class is responsible for initializing and preparing quote items when products are added to the shoppi...

RelatedProducts

Model

This class identifies and retrieves product IDs that have special relationships with items currently in the shoppin...

Item\Repository

Model

This repository class manages shopping cart items in Magento 2, providing methods to retrieve, save, and delete ite...

ToOrderItem

Model

This class converts quote items (shopping cart items) into order items during the checkout process when a quote is...

Updater

Model

This class handles updating quote items in the shopping cart, primarily managing quantity changes and custom pricin...

QuoteManagement

Model

QuoteManagement is the main service class for managing shopping cart (quote) operations in Magento 2. Developers us...

QuoteMutex

Model

This class provides database-level locking for quote operations to prevent race conditions when multiple requests t...

Payment

Model

This class manages payment information for shopping cart quotes in Magento 2. Developers use it to handle payment m...

ToOrderPayment

Model

This class converts Quote Payment data into Order Payment data during the checkout process when a quote is being tr...

ProductOption

Model

This class represents product options for items in a shopping cart quote. It provides a standardized way to store a...

QuantityCollector

Model

This class collects and calculates quantity-related statistics for all items in a shopping cart quote. Developers u...

Relation

Model

This class manages the saving of related entities when a Quote object is persisted in Magento 2. It automatically s...

QuoteRepository

Model

QuoteRepository is the main data access layer for managing shopping cart quotes in Magento 2. Developers use this c...

LoadHandler

Model

This class handles the loading and enrichment of quote (shopping cart) data in Magento 2. It prepares quote objects...

SaveHandler

Model

This class handles the complex process of saving a shopping cart (quote) in Magento 2, including persisting cart it...

ShippingAssignmentPersister

Model

This class is responsible for persisting shipping assignment data to a quote (shopping cart) in Magento 2. Develope...

ShippingAssignmentProcessor

Model

This class manages the creation and persistence of shipping assignments in Magento 2 quotes. Developers use it when...

ShippingProcessor

Model

This class processes shipping information for quotes in Magento 2. Developers use it to create shipping data object...

TotalsCollector

Model

This class is responsible for collecting and calculating all totals for a shopping cart quote in Magento 2, includi...

TotalsCollectorList

Model

This class manages and provides access to the collection of total calculators used when computing quote totals in M...

TotalsReader

Model

The TotalsReader class is responsible for collecting and aggregating all quote totals (subtotal, shipping, tax, dis...

QuoteValidator

Model

The QuoteValidator class ensures shopping cart quotes are valid before checkout or order submission. Developers use...

LoadQuoteByIdMutex

Model

This class provides thread-safe quote loading functionality by implementing a mutex (mutual exclusion) pattern. It...

Quote

Model

This class manages database operations for shopping cart quotes in Magento 2. Developers use it to load, save, and...

Address

Model

This resource model manages database operations for quote addresses in Magento 2. Developers use this class indirec...

Item

Model

This class manages database operations for shopping cart items in Magento 2. It handles saving quote items to the d...

QuoteItemRetriever

Model

This class provides a simple way to retrieve a quote item by its ID in Magento 2. Developers use this when they nee...

Payment

Model

This resource model manages database operations for quote payment information in Magento 2. Developers use this cla...

QuoteIdMask

Model

This resource model manages the database operations for the quote_id_mask table, which stores masked (anonymized) v...

Shipping

Model

This class represents shipping information for a quote in Magento 2. Developers use it to store and retrieve the sh...

ShippingAddressAssignment

Model

This class manages the assignment of shipping addresses to shopping cart quotes in Magento 2. Developers use it whe...

ShippingAddressManagement

Model

This class manages shipping address operations for shopping carts in Magento 2. Developers use it to assign a shipp...

ShippingAssignment

Model

This class represents a shipping assignment in Magento 2, which groups quote items together with their associated s...

ShippingMethodManagement

Model

This class manages shipping methods for shopping carts in Magento 2. Developers use it to retrieve available shippi...

SubmitQuoteValidator

Model

This class validates both quotes and orders during the quote submission process in Magento 2. Developers use this v...

AllowedCountryValidationRule

Model

This validation rule ensures that the shipping country selected in a quote is allowed based on the store's configur...

BillingAddressValidationRule

Model

This class validates the billing address of a quote during the checkout process in Magento 2. Developers use this v...

MinimumAmountValidationRule

Model

This class validates whether a quote (shopping cart) meets the store's minimum order amount requirement before chec...

PaymentMethodValidationRule

Model

This class validates that a quote has a payment method selected before proceeding with checkout or order placement....

QuoteValidationComposite

Model

This class acts as a container that runs multiple quote validation rules in sequence when validating a shopping car...

ShippingAddressValidationRule

Model

This validation rule ensures that a quote's shipping address is valid before checkout or order placement. It checks...

ShippingMethodValidationRule

Model

This validation rule verifies that a quote has a valid shipping method selected before checkout. Developers use thi...

ParamOverriderCartId

Model

This class automatically replaces the '%cart_id%' placeholder in REST API requests with the actual cart ID of the c...

CartItemRepositoryInterface

Repository

This interface defines the contract for managing shopping cart items in Magento 2. Developers use this repository t...

CartRepositoryInterface

Repository

CartRepositoryInterface is the contract for managing shopping cart (quote) data in Magento 2. Developers use this i...

CartTotalRepositoryInterface

Repository

This interface defines the contract for retrieving cart totals information in Magento 2. Developers use this reposi...

GuestCartItemRepositoryInterface

Repository

This interface defines operations for managing shopping cart items for guest (non-logged in) customers. Developers...

GuestCartRepositoryInterface

Repository

This interface defines the contract for retrieving shopping cart information for guest (non-logged-in) users in Mag...

GuestCartTotalRepositoryInterface

Repository

This interface defines the contract for retrieving shopping cart totals for guest customers (non-logged-in users) i...