Sales Module
AbstractCollection
This abstract collection class serves as the foundation for all sales-related collections in Magento 2 (orders, inv...
AbstractModel
This abstract base class provides common functionality for all Sales module entities like orders, invoices, shipmen...
AbstractNotifier
AbstractNotifier is a base class for sending email notifications related to sales entities (orders, invoices, shipm...
Admin
The Sales Admin Helper provides utility methods for displaying prices in the Magento admin panel, particularly for...
AdminOrder\Create
This class manages the entire process of creating orders from the Magento admin panel. It handles quote manipulatio...
AdminOrder\EmailSender
This class handles sending order and invoice confirmation emails when orders are created through the Magento admin...
Api\CreditmemoCommentRepositoryInterface
This repository interface manages CRUD operations for credit memo comments in Magento 2. Developers use this to ret...
Api\CreditmemoItemRepositoryInterface
This repository interface provides CRUD operations for managing individual credit memo items in Magento 2. Develope...
Api\CreditmemoManagementInterface
This interface defines the contract for managing credit memos in Magento 2. Developers use this to perform operatio...
Api\CreditmemoRepositoryInterface
This repository interface provides CRUD operations for managing credit memos in Magento 2. Developers use this inte...
Api\Data\CommentInterface
This interface defines the contract for comment objects in Magento 2 Sales module. Developers use it when working w...
Api\Data\CreditmemoCommentCreationInterface
This interface defines the contract for creating comments when generating credit memos in Magento 2. Developers use...
Api\Data\CreditmemoCommentInterface
This interface defines the contract for credit memo comment objects in Magento 2. Developers use it when working wi...
Api\Data\CreditmemoCommentSearchResultInterface
This interface defines the contract for search results when querying credit memo comments in Magento 2. Developers...
Api\Data\CreditmemoCreationArgumentsInterface
This interface defines the contract for credit memo creation arguments in Magento 2. Developers use this when progr...
Api\Data\CreditmemoInterface
This interface defines the data structure and operations for credit memos (refund documents) in Magento 2. Develope...
Api\Data\CreditmemoItemCreationInterface
This interface defines the contract for creating credit memo items in Magento 2. Developers use this when programma...
Api\Data\CreditmemoItemInterface
This interface defines the contract for credit memo item data in Magento 2. Developers use it when working with ref...
Api\Data\CreditmemoItemSearchResultInterface
This interface defines the contract for search results when querying credit memo items in Magento 2. Developers use...
Api\Data\CreditmemoSearchResultInterface
This interface defines the contract for search results when querying credit memos in Magento 2. Developers use this...
Api\Data\EntityInterface
This interface defines the base contract for sales entities in Magento 2, providing common methods for accessing en...
Api\Data\InvoiceCommentCreationInterface
This interface defines the contract for creating invoice comments in Magento 2. Developers use this when programmat...
Api\Data\InvoiceCommentInterface
This interface defines the contract for invoice comment data objects in Magento 2. Developers use it when working w...
Api\Data\InvoiceCommentSearchResultInterface
This interface defines the contract for search results when querying invoice comments in Magento 2. Developers use...
Api\Data\InvoiceCreationArgumentsInterface
This interface defines the contract for passing additional creation arguments when generating invoices in Magento 2...
Api\Data\InvoiceInterface
This interface defines the data contract for invoice entities in Magento 2. Developers use this interface when work...
Api\Data\InvoiceItemCreationInterface
This interface defines the structure for creating invoice items programmatically in Magento 2. Developers use this...
Api\Data\InvoiceItemInterface
InvoiceItemInterface defines the contract for individual line items within a Magento 2 invoice. Developers use this...
Api\Data\InvoiceItemSearchResultInterface
This interface defines the contract for search results when querying invoice items in Magento 2. Developers use thi...
Api\Data\InvoiceSearchResultInterface
This interface defines the contract for search results when querying invoices in Magento 2. Developers use this int...
Api\Data\LineItemInterface
This interface defines the base contract for line items in Magento 2 sales entities like invoices, shipments, and c...
Api\Data\OrderAddressInterface
This interface defines the structure for order address data in Magento 2's Sales module. Developers use this when w...
Api\Data\OrderAddressSearchResultInterface
This interface defines the contract for search results when querying order addresses in Magento 2. Developers use t...
Api\Data\OrderInterface
OrderInterface defines the data contract for sales orders in Magento 2. It provides getter and setter methods for a...
Api\Data\OrderItemInterface
This interface defines the data contract for individual items within a Magento 2 order. Developers use it when work...
Api\Data\OrderItemSearchResultInterface
This interface defines the contract for search results when querying order items in Magento 2. Developers use this...
Api\Data\OrderPaymentInterface
This interface defines the contract for order payment data in Magento 2. Developers use it to access and manipulate...
Api\Data\OrderPaymentSearchResultInterface
This interface defines the contract for search results when querying order payment records in Magento 2. Developers...
Api\Data\OrderSearchResultInterface
This interface defines the contract for order search results in Magento 2. Developers use this when working with or...
Api\Data\OrderStatusHistoryInterface
This interface defines the contract for order status history entries in Magento 2. Developers use it to track and m...
Api\Data\OrderStatusHistorySearchResultInterface
This interface defines the contract for search results when querying order status history records in Magento 2. It...
Api\Data\ShipmentCommentCreationInterface
This interface defines the contract for creating shipment comments in Magento 2. Developers use this when they need...
Api\Data\ShipmentCommentInterface
This interface defines the contract for shipment comment data objects in Magento 2. Developers use it when working...
Api\Data\ShipmentCommentSearchResultInterface
This interface defines the contract for search results when querying shipment comments in Magento 2. Developers use...
Api\Data\ShipmentCreationArgumentsInterface
This interface defines a contract for passing additional arguments when creating a shipment in Magento 2. Developer...
Api\Data\ShipmentInterface
This interface defines the data structure and contract for shipment records in Magento 2. Developers use it when wo...
Api\Data\ShipmentItemCreationInterface
This interface defines the contract for creating shipment items when processing orders in Magento 2. Developers use...
Api\Data\ShipmentItemInterface
This interface defines the contract for individual items within a shipment in Magento 2. Developers use it when wor...
Api\Data\ShipmentItemSearchResultInterface
This interface defines the contract for search results when querying shipment items in Magento 2. Developers use th...
Api\Data\ShipmentPackageCreationInterface
This interface defines the contract for creating shipment packages in Magento 2. Developers use this when programma...
Api\Data\ShipmentPackageInterface
This interface defines the contract for shipment package data objects in Magento 2. Developers use it when working...
Api\Data\ShipmentSearchResultInterface
This interface defines the contract for search results when querying shipments in Magento 2. Developers use this wh...
Api\Data\ShipmentTrackCreationInterface
This interface defines the contract for creating shipment tracking information in Magento 2. Developers use it when...
Api\Data\ShipmentTrackInterface
This interface defines the contract for shipment tracking data in Magento 2. Developers use it to work with trackin...
Api\Data\ShipmentTrackSearchResultInterface
This interface defines the contract for search results containing shipment tracking information in Magento 2. Devel...
Api\Data\ShippingAssignmentInterface
This interface defines the contract for a shipping assignment in Magento 2, which groups order items with their shi...
Api\Data\ShippingInterface
This interface defines the contract for handling shipping information in Magento 2 orders. Developers use it to acc...
Api\Data\TotalInterface
This interface defines the contract for managing shipping-related totals in Magento 2 sales orders, including amoun...
Api\Data\TrackInterface
This interface defines the contract for shipment tracking information in Magento 2. Developers use it when creating...
Api\Data\TransactionInterface
This interface defines the contract for payment transaction data objects in Magento 2. Developers use it to access...
Api\Data\TransactionSearchResultInterface
This interface defines the contract for search results when querying sales transactions in Magento 2. Developers us...
Api\Exception\CouldNotInvoiceExceptionInterface
This is a marker interface used to identify exceptions that occur when an invoice cannot be created in Magento 2. D...
Api\Exception\CouldNotRefundExceptionInterface
This interface serves as a marker for exceptions that occur when a refund operation cannot be completed in Magento...
Api\Exception\CouldNotShipExceptionInterface
This is a marker interface used to identify exceptions that occur when a shipment cannot be created in Magento 2. D...
Api\Exception\DocumentValidationExceptionInterface
This interface serves as a marker for exceptions thrown during sales document validation in Magento 2. Developers u...
Api\InvoiceCommentRepositoryInterface
This repository interface manages CRUD operations for invoice comments in Magento 2. Developers use it to retrieve,...
Api\InvoiceItemRepositoryInterface
This interface defines the contract for managing invoice item data in Magento 2. Developers use this repository to...
Api\InvoiceManagementInterface
This interface defines the contract for managing Magento 2 invoices, including operations like capturing payment, v...
Api\InvoiceOrderInterface
This interface defines the contract for creating invoices from existing orders in Magento 2. Developers use this wh...
Api\InvoiceRepositoryInterface
This repository interface provides methods to manage invoice records in Magento 2. Developers use this interface to...
Api\OrderAddressRepositoryInterface
This repository interface provides methods to manage order addresses (billing and shipping) in Magento 2. Developer...
Api\OrderCustomerDelegateInterface
This interface defines a contract for delegating customer account creation operations from the Sales module to the...
Api\OrderCustomerManagementInterface
This interface defines a contract for creating customer accounts from existing orders. Developers use this when the...
Api\OrderItemRepositoryInterface
This repository interface provides methods to manage individual items within sales orders in Magento 2. Developers...
Api\OrderManagementInterface
This interface defines the contract for managing sales orders in Magento 2. Developers use this interface to perfor...
Api\OrderPaymentRepositoryInterface
This interface defines the contract for managing order payment data in Magento 2. Developers use this repository to...
Api\OrderRepositoryInterface
This interface defines the contract for managing Magento 2 sales orders in the system. Developers use this reposito...
Api\OrderStatusHistoryRepositoryInterface
This interface defines the contract for managing order status history comments in Magento 2. Developers use this re...
Api\PaymentFailuresInterface
This interface defines a contract for handling payment gateway failures in Magento 2. Developers would use this to...
Api\RefundInvoiceInterface
This interface defines a service contract for refunding invoices in Magento 2. Developers use this to programmatica...
Api\RefundOrderInterface
This interface defines the contract for creating offline refunds (credit memos) for orders in Magento 2. Developers...
Api\ShipOrderInterface
This interface defines a contract for creating shipments in Magento 2. Developers use this to programmatically crea...
Api\ShipmentCommentRepositoryInterface
This repository interface manages CRUD operations for shipment comments in Magento 2. Developers use it to retrieve...
Api\ShipmentItemRepositoryInterface
This interface defines the contract for managing shipment items in Magento 2. Developers use this repository to per...
Api\ShipmentManagementInterface
This interface defines the contract for managing shipment operations in Magento 2. Developers use this to retrieve...
Api\ShipmentRepositoryInterface
This repository interface provides standardized methods for managing shipment entities in Magento 2. Developers use...
Api\ShipmentTrackRepositoryInterface
This interface defines the contract for managing shipment tracking information in Magento 2. Developers use this re...
Api\TransactionRepositoryInterface
This repository interface provides methods to manage payment transactions in Magento 2's order system. Developers u...
Config
This class provides access to sales-related configuration data in Magento 2, specifically for order totals renderin...
Config\Converter
This class converts Magento 2 sales configuration XML files (like sales.xml) into PHP arrays. Developers typically...
Config\Data
This class serves as a data container for sales configuration in Magento 2, specifically handling the caching and r...
Config\Ordered
This abstract class serves as a base for managing ordered collections of sales-related calculation models (like ord...
Config\Reader
This class loads and reads sales-related configuration from sales.xml files across all Magento modules. Developers...
Config\SchemaLocator
This class provides the file paths to XSD schema files used for validating Sales module configuration XML files. De...
Convert\Order
The Order Convert model handles the conversion of order objects and their items into related sales documents like i...
CronJob\AggregateSalesReportBestsellersData
This class is a cron job handler that automatically refreshes bestseller product statistics in Magento's sales repo...
CronJob\AggregateSalesReportInvoicedData
This class is a cron job that automatically aggregates sales invoice data for reporting purposes. It runs periodica...
CronJob\AggregateSalesReportOrderData
This class is a cron job that automatically aggregates sales order data for reporting purposes. It runs periodicall...
CronJob\AggregateSalesReportRefundedData
This class is a cron job that automatically aggregates and refreshes sales refunded report statistics in Magento 2....
CronJob\CleanExpiredOrders
This class automatically cancels pending payment orders that have exceeded their configured lifetime. It runs as a...
CustomerGroupRetriever
This class retrieves the customer group ID from the admin quote session in Magento 2's backend area. Developers use...
Data
This helper class provides utility methods to check if various sales-related email notifications are enabled in the...
Data\Order\Tax
This class represents tax information associated with an order in Magento 2. Developers use it to access and manipu...
Download
The Download class handles secure file downloads for sales-related documents like custom option files attached to o...
EmailSenderHandler
This class handles asynchronous sending of sales-related emails (orders, invoices, shipments, credit memos) to cust...
EntityStorage
EntityStorage acts as an in-memory registry for storing and retrieving Magento sales entities (like orders, invoice...
ExpiredQuotesCollection
This class retrieves shopping cart quotes that have expired based on the store's configured lifetime threshold. Dev...
ExportViewFilterProcessor
This class processes and filters columns for exporting Sales order grids based on custom views saved in bookmarks....
GridAsyncInsert
This class manages asynchronous insertion of sales entities (Orders, Invoices, Shipments, Credit Memos) into their...
Grid\Child\CollectionUpdater
This class updates grid collections for child transactions in the Magento admin panel. It filters the transaction g...
Grid\CollectionUpdater
This class is responsible for updating sales transaction grid collections by filtering them based on the currently...
Grid\LastUpdateTimeCache
This class manages caching of the last update timestamp for Magento 2 sales grid tables (orders, invoices, shipment...
Guest
This helper class enables guest (non-logged-in) customers to view their order details by validating their order inf...
Increment
This class manages the generation and retrieval of increment IDs for sales orders in Magento 2. Developers would us...
InsertOrderStatusChangeHistory
This class is responsible for tracking order status changes in Magento 2 by recording them in the status change his...
InvoiceOrder
This class handles the creation of invoices for Magento 2 orders. Developers use this when they need to programmati...
Model\ConfigInterface
This interface defines a contract for accessing sales-related configuration in Magento 2. Developers use it to retr...
Model\EntityInterface
This interface defines a contract for Magento sales entities (orders, invoices, shipments, credit memos) that requi...
Model\OrderMutexInterface
This interface defines a mutex (mutual exclusion) mechanism for Order operations in Magento 2. Developers use this...
Model\Order\CreditmemoDocumentFactory
This factory class creates credit memo (refund) documents in Magento 2, either from an existing order or from an in...
Model\Order\CreditmemoFactory
This factory class creates Credit Memo objects in Magento 2, either from an order or from an existing invoice. Deve...
Model\Order\Creditmemo\CreditmemoValidatorInterface
This interface defines a contract for validating credit memo entities in Magento 2 before they are processed or sav...
Model\Order\Creditmemo\ItemCreationValidatorInterface
This interface defines a contract for validating credit memo items during creation in Magento 2. Developers impleme...
Model\Order\Creditmemo\NotifierInterface
This interface defines the contract for notifying customers about credit memo creation in Magento 2. Developers use...
Model\Order\Creditmemo\SenderInterface
This interface defines the contract for sending credit memo notification emails to customers in Magento 2. Develope...
Model\Order\InvoiceDocumentFactory
This factory class creates invoice documents for Magento 2 orders. Developers use it when they need to programmatic...
Model\Order\InvoiceStatisticInterface
This interface defines a contract for registering invoice statistics on an order. Developers implement this interfa...
Model\Order\Invoice\InvoiceValidatorInterface
This interface defines a contract for validating invoice entities in Magento 2. Developers use implementations of t...
Model\Order\Invoice\NotifierInterface
This interface defines the contract for sending invoice notifications to customers in Magento 2. Developers use thi...
Model\Order\Invoice\SenderInterface
This interface defines the contract for sending invoice notification emails to customers in Magento 2. Developers i...
Model\Order\OrderStateResolverInterface
This interface defines a contract for determining the appropriate state of an order in Magento 2 based on the order...
Model\Order\OrderValidatorInterface
This interface defines a contract for validating Magento 2 orders before performing operations like creation, updat...
Model\Order\PaymentAdapterInterface
This interface defines a contract for processing payment operations on orders in Magento 2. Developers implement th...
Model\Order\Pdf\ItemsFactory
This factory class creates instances of PDF item renderer classes used when generating PDF documents for sales orde...
Model\Order\RefundAdapterInterface
This interface defines a contract for processing refunds in Magento 2. Developers implement this interface to creat...
Model\Order\Reorder\OrderedProductAvailabilityCheckerInterface
This interface defines a contract for checking if a previously ordered product and its selected options are still a...
Model\Order\ShipmentDocumentFactory
This factory class creates shipment documents for orders in Magento 2. Developers use it when they need to programm...
Model\Order\ShipmentFactory
This factory class creates Shipment objects for Magento orders. Developers use it to programmatically generate ship...
Model\Order\Shipment\NotifierInterface
This interface defines a contract for notifying customers when a shipment is created or updated in Magento 2. Devel...
Model\Order\Shipment\OrderRegistrarInterface
This interface defines a contract for updating order information when a shipment is created. Developers use this to...
Model\Order\Shipment\SenderInterface
This interface defines a contract for sending shipment notification emails to customers in Magento 2. Developers wo...
Model\Order\Shipment\ShipmentItemsValidatorInterface
This interface defines a contract for validating items before creating a shipment in Magento 2. Developers implemen...
Model\Order\Shipment\ShipmentValidatorInterface
This interface defines a contract for validating shipment data in Magento 2. Developers implement this interface to...
Model\Order\TotalFactory
This factory class creates instances of order total calculator classes that extend AbstractTotal. Developers use th...
Model\Order\Validation\InvoiceOrderInterface
This interface defines a contract for validating invoice creation in Magento 2. Developers implement this interface...
Model\Order\Validation\RefundInvoiceInterface
This interface defines a contract for validating credit memo refunds against invoices in Magento 2. Developers impl...
Model\Order\Validation\RefundOrderInterface
This interface defines a contract for validating refund operations (credit memos) in Magento 2. Developers implemen...
Model\Order\Validation\ShipOrderInterface
This interface defines a contract for validating order shipment operations in Magento 2. Developers use this when t...
Model\ResourceModel\GridInterface
This interface defines the contract for managing Magento 2 sales grid tables (like order grid, invoice grid, shipme...
Model\ResourceModel\Grid\Collection
This class provides a specialized collection for displaying sales documents (orders, invoices, shipments, credit me...
Model\ResourceModel\HelperInterface
This interface defines a contract for sales resource helper classes that need to handle bestseller report operation...
Model\ResourceModel\Order\Collection
This class manages collections of sales orders in Magento 2, allowing developers to retrieve, filter, and search or...
Model\ResourceModel\Order\CollectionFactory
This factory class creates instances of Order Collection objects in Magento 2. Developers use it to retrieve and wo...
Model\ResourceModel\Order\CollectionFactoryInterface
This interface defines a factory contract for creating Order Collection instances in Magento 2. Developers use this...
Model\ResourceModel\Provider\NotSyncedDataProviderInterface
This interface defines a contract for providers that identify entities needing synchronization between main tables...
Model\ResourceModel\Sale\Collection
This collection class retrieves and aggregates sales data from orders, calculating metrics like lifetime value, ave...
Model\ResourceModel\Status\Collection
This collection class is specifically designed for displaying order statuses in grid views within the Magento admin...
Model\Spi\CreditmemoCommentResourceInterface
This interface defines the contract for database operations on credit memo comments in Magento 2. Developers use th...
Model\Spi\CreditmemoItemResourceInterface
This interface defines the contract for database operations on credit memo items in Magento 2. Developers use this...
Model\Spi\CreditmemoResourceInterface
This interface defines the contract for credit memo resource operations in Magento 2, providing methods to save, lo...
Model\Spi\InvoiceCommentResourceInterface
This interface defines the contract for managing invoice comment persistence operations in Magento 2. Developers us...
Model\Spi\InvoiceItemResourceInterface
This interface defines the contract for database operations (CRUD) on invoice item resources in Magento 2. Develope...
Model\Spi\InvoiceResourceInterface
This interface defines the contract for managing Invoice resource operations in Magento 2's database layer. Develop...
Model\Spi\OrderAddressResourceInterface
This interface defines the contract for data persistence operations on order address entities in Magento 2. Develop...
Model\Spi\OrderItemResourceInterface
This interface defines the contract for managing database operations (CRUD) for order items in Magento 2. Developer...
Model\Spi\OrderPaymentResourceInterface
This interface defines the contract for managing Order Payment data persistence operations in Magento 2. Developers...
Model\Spi\OrderResourceInterface
This interface defines the contract for database operations (save, load, delete) on Magento 2 order objects. Develo...
Model\Spi\OrderStatusHistoryResourceInterface
This interface defines the contract for managing order status history records in the database. Developers use this...
Model\Spi\ShipmentCommentResourceInterface
This interface defines the contract for persistence operations (save, load, delete) on shipment comment resources i...
Model\Spi\ShipmentItemResourceInterface
This interface defines the contract for database operations on shipment item entities in Magento 2. Developers woul...
Model\Spi\ShipmentResourceInterface
This interface defines the contract for database operations on Magento 2 shipment entities. Developers use this whe...
Model\Spi\ShipmentTrackResourceInterface
This interface defines the contract for database operations (CRUD) on shipment tracking information in Magento 2. D...
Model\Spi\TransactionResourceInterface
This interface defines the contract for managing database operations (save, load, delete) for sales transaction rec...
Model\Status\ListFactory
This factory class creates instances of ListStatus objects in Magento 2's Sales module. Developers use this factory...
Model\ValidatorInterface
This interface defines a contract for validators in Magento 2's Sales module. Developers implement this interface t...
Model\ValidatorResultInterface
This interface defines a contract for validator result objects in Magento 2 Sales module. It provides methods to co...
Order
The Order model class represents a sales order in Magento 2 and provides comprehensive functionality for managing o...
OrderIncrementIdChecker
This class checks whether a specific order increment ID has already been used in the system. Developers use this ut...
OrderMutex
This class prevents race conditions when multiple requests try to update the same order simultaneously. It uses dat...
OrderNotifier
This class handles sending order confirmation emails to customers in Magento 2. Developers use this class when they...
OrderRepository
OrderRepository is the main class for managing order data in Magento 2. Developers use it to retrieve, save, delete...
Order\Address
This model represents a billing or shipping address associated with a sales order in Magento 2. Developers use this...
Order\AddressRepository
The AddressRepository class manages order address data in Magento 2, providing methods to create, retrieve, update,...
Order\Address\Renderer
This class is responsible for formatting order addresses in Magento 2. Developers use it when they need to display...
Order\Address\Validator
This validator class ensures that sales order addresses contain all required information before they are saved or u...
Order\Admin\Item
This class serves as a wrapper or helper for accessing order item data in the Magento admin area. It provides a con...
Order\Config
This class manages order status and state configurations in Magento 2. Developers use it to retrieve status labels,...
Order\Create\ValidateCoupon
This class validates and provides user feedback when applying or removing coupon codes during order creation in the...
Order\Creditmemo
The Creditmemo model represents a credit memo (refund document) in Magento 2's order management system. Developers...
Order\CreditmemoNotifier
The CreditmemoNotifier class is responsible for sending credit memo email notifications to customers when a refund...
Order\CreditmemoRepository
This repository class provides CRUD (Create, Read, Update, Delete) operations for Credit Memo entities in Magento 2...
Order\CreditmemoValidator
This validator class determines whether order items can be refunded when creating a credit memo in Magento 2. Devel...
Order\Creditmemo\Comment
This class represents a comment on a credit memo in Magento 2. Developers use it to create, retrieve, and manage co...
Order\Creditmemo\CommentCreation
This class is a data transfer object (DTO) used when creating comments for credit memos in Magento 2. Developers us...
Order\Creditmemo\CommentRepository
This class manages CRUD operations for credit memo comments in Magento 2. Developers use it to retrieve, save, dele...
Order\Creditmemo\Config
This configuration class manages the order creditmemo (refund) total collectors in Magento 2. It determines the ord...
Order\Creditmemo\CreationArguments
This class serves as a data container for optional arguments when creating a credit memo in Magento 2. Developers u...
Order\Creditmemo\CreditmemoValidator
This class validates credit memos in Magento 2 before they are saved or processed. Developers use it to ensure cred...
Order\Creditmemo\Item
This class represents a single line item within a Magento 2 credit memo (refund). Developers use this model when cr...
Order\Creditmemo\ItemCreation
This class is a data transfer object (DTO) used when creating credit memo items through the Magento 2 API. Develope...
Order\Creditmemo\ItemCreationValidator
This class validates credit memo items during the credit memo creation process in Magento 2. Developers use it to e...
Order\Creditmemo\ItemRepository
This repository class provides CRUD (Create, Read, Update, Delete) operations for credit memo items in Magento 2. D...
Order\Creditmemo\Notifier
This class handles sending notifications when a credit memo is created in Magento 2. Developers use this class to t...
Order\Creditmemo\RefundOperation
This class handles the complete refund operation for credit memos in Magento 2. Developers use it when processing r...
Order\CustomerAssignment
This class handles the assignment of a registered customer to an existing order, typically converting a guest order...
Order\CustomerManagement
This class manages the conversion of guest checkout orders into customer accounts in Magento 2. Developers use this...
Order\Email\NotifySender
This abstract class serves as a base for sending notification emails related to sales orders in Magento 2. Develope...
Order\Email\Sender
This abstract class serves as the base for sending order-related emails in Magento 2, such as order confirmations,...
Order\Email\SenderBuilder
SenderBuilder is responsible for constructing and sending transactional email messages for sales orders in Magento...
Order\Invoice
The Invoice model represents a sales invoice document in Magento 2. Developers use this class to create, manage, an...
Order\InvoiceNotifier
InvoiceNotifier is responsible for sending invoice notification emails to customers when an invoice is created or u...
Order\InvoiceQuantityValidator
This validator ensures that invoice quantities are valid before an invoice is created in Magento 2. It checks that...
Order\InvoiceRepository
The InvoiceRepository class provides a centralized way to manage invoice operations in Magento 2, including creatin...
Order\Invoice\Comment
This class represents a comment attached to an invoice in Magento 2. Developers use it to add, retrieve, and manage...
Order\Invoice\CommentCreation
This class is a data transfer object (DTO) used when creating comments for invoices in Magento 2. Developers use th...
Order\Invoice\CommentRepository
This repository class manages CRUD operations for invoice comments in Magento 2. Developers use it to retrieve, sav...
Order\Invoice\Config
This class manages the configuration for invoice total collectors in Magento 2. It extends the base total configura...
Order\Invoice\CreationArguments
This class serves as a data container for additional arguments used during invoice creation in Magento 2. Developer...
Order\Invoice\GetLogoFile
This class retrieves the custom logo file URL configured for invoice HTML printing in Magento 2. Developers would u...
Order\Invoice\InvoiceValidator
This class validates invoice entities in Magento 2 by running a set of validators against an invoice object. Develo...
Order\Invoice\Item
This class represents a single item line in a Magento 2 invoice. Developers use it when creating invoices, capturin...
Order\Invoice\ItemCreation
This class serves as a data transfer object (DTO) for creating invoice items in Magento 2. Developers use it when p...
Order\Invoice\ItemRepository
This repository class provides CRUD operations for managing individual invoice item records in Magento 2. Developer...
Order\Invoice\Notifier
This class is responsible for sending invoice notifications in Magento 2. Developers use this class when they need...
Order\Invoice\PayOperation
This class handles the payment processing logic when an invoice is registered for an order in Magento 2. Developers...
Order\Item
The Order Item class represents individual products within a Magento 2 order. Developers use this class to access a...
Order\ItemRepository
The ItemRepository class manages CRUD operations for order items in Magento 2. Developers use this class to retriev...
Order\OrderCustomerDelegate
This class handles the delegation of guest orders to customer accounts during the customer registration process. Wh...
Order\OrderCustomerExtractor
This class extracts customer data from a sales order, either retrieving an existing customer from the database or b...
Order\OrderValidator
This class validates Order entities in Magento 2 by running specified validation rules against an order object. Dev...
Order\Payment
The Order Payment class manages all payment-related operations for Magento orders including authorization, capture,...
Order\PaymentAdapter
This adapter class simplifies the payment processing workflow for orders and invoices in Magento 2. Developers use...
Order\Payment\Info
This class manages payment information for orders in Magento 2, including storing and retrieving payment method det...
Order\Payment\Processor
The Payment Processor class acts as a central coordinator for processing payment operations in Magento 2 orders. De...
Order\Payment\Repository
The Order Payment Repository provides a centralized way to retrieve, save, delete, and search for order payment rec...
Order\Payment\Transaction
This class manages payment transaction records in Magento 2, tracking the hierarchy and relationships between diffe...
Order\Pdf\AbstractPdf
This abstract class serves as the base for generating PDF documents for Magento 2 sales documents like invoices, sh...
Order\Pdf\Config
This configuration class provides PDF rendering settings for Magento 2 sales documents like invoices, shipments, an...
Order\Pdf\Creditmemo
This class generates PDF documents for credit memos in Magento 2. Developers use this class when they need to creat...
Order\Pdf\Invoice
This class generates PDF documents for sales order invoices in Magento 2. Developers use this class when they need...
Order\Pdf\Shipment
This class generates PDF documents for order shipments in Magento 2. Developers use it when they need to create or...
Order\ProductOption
This class manages product options for order items in Magento 2. It processes and adds product-specific configurati...
Order\RefundAdapter
The RefundAdapter class serves as a facade for processing refunds in Magento 2. Developers use this class when they...
Order\Reorder\OrderedProductAvailabilityChecker
This class checks if products from a previous order can be reordered based on their product type. Developers use it...
Order\Reorder\UnavailableProductsProvider
This class identifies products from an order that are no longer available for reorder. Developers use this when imp...
Order\Shipment
The Shipment model represents a physical shipment of products from an order in Magento 2. Developers use this class...
Order\ShipmentDocumentFactory\ExtensionAttributesProcessor
This class processes and merges extension attributes for shipment documents in Magento 2. It combines extension att...
Order\ShipmentRepository
The ShipmentRepository class provides a centralized way to manage order shipments in Magento 2. Developers use this...
Order\Shipment\Comment
This class represents a comment attached to a shipment in Magento 2. Developers use it to add, retrieve, and manage...
Order\Shipment\CommentCreation
This class serves as a data transfer object (DTO) for creating comments on shipments in Magento 2. Developers use t...
Order\Shipment\CommentRepository
This repository class manages CRUD operations for shipment comments in Magento 2. Developers use it to retrieve, sa...
Order\Shipment\CreationArguments
This class serves as a data container for passing additional arguments when creating a shipment in Magento 2. Devel...
Order\Shipment\Item
This class represents an individual item within a shipment in Magento 2. Developers use it when creating or managin...
Order\Shipment\ItemCreation
This class is a data transfer object (DTO) used when creating shipment items in Magento 2. Developers use this clas...
Order\Shipment\ItemRepository
This repository class manages CRUD operations for shipment items in Magento 2. Developers use this class to retriev...
Order\Shipment\Notifier
This class handles sending shipment notifications to customers when an order is shipped. Developers use this class...
Order\Shipment\OrderRegistrar
This class handles the registration of shipment items with their parent order during the shipment creation process....
Order\Shipment\Package
This class represents a package within a shipment in Magento 2's order fulfillment system. Developers use this mode...
Order\Shipment\PackageCreation
This class represents a data model for creating shipment packages in Magento 2. Developers use this class when prog...
Order\Shipment\ShipmentItemsValidator
This class validates shipment items before creating a shipment in Magento 2. Developers use this class to ensure th...
Order\Shipment\ShipmentValidator
This class validates Magento 2 shipment entities before they are saved or processed. Developers use this validator...
Order\Shipment\Track
This class represents a shipment tracking record in Magento 2, storing information like tracking numbers, carrier c...
Order\Shipment\TrackCreation
This class is a data transfer object (DTO) used to create tracking information for shipments in Magento 2. Develope...
Order\Shipment\TrackRepository
This repository class manages shipment tracking information in Magento 2. Developers use it to create, retrieve, up...
Order\Shipping
This class represents shipping information for a sales order in Magento 2. Developers use it to access and manage o...
Order\ShippingAssignment
ShippingAssignment is a data model that groups together shipping information, order items, and inventory stock ID f...
Order\ShippingAssignmentBuilder
This builder class creates ShippingAssignment objects for Magento 2 orders, which bundle together shipping informat...
Order\ShippingBuilder
The ShippingBuilder class is responsible for creating a ShippingInterface object that contains all shipping-related...
Order\ShippingTotal
This class represents shipping-related totals for a Magento 2 order, providing getters and setters for all shipping...
Order\StateResolver
The StateResolver class determines the appropriate state for an order based on its current conditions and propertie...
Order\Status
This class manages order statuses in Magento 2, allowing developers to create, assign, and manipulate status labels...
Order\StatusLabel
This class retrieves and manages order status labels for display in different areas of Magento 2 (frontend, admin,...
Order\StatusResolver
This class determines the appropriate status for an order based on its state and payment method configuration. Deve...
Order\Status\History
This class manages order status history records, which track changes to an order's status along with comments and t...
Order\Status\HistoryRepository
This repository class manages CRUD operations for order status history records in Magento 2. Developers use this cl...
Order\Tax
This model class represents tax information applied to a Magento 2 order. Developers use it to retrieve and manage...
Order\Tax\Item
This class represents tax details for individual items in a Magento 2 order, storing information about which taxes...
Order\Total
This class represents order totals data in Magento 2's sales module. It serves as a data container for storing and...
Order\Total\AbstractTotal
This is a base class for implementing order total calculation models in Magento 2. Developers extend this class whe...
Order\Validation\CanInvoice
This validator class determines whether an order can have an invoice created for it. Developers use this class to c...
Order\Validation\CanRefund
This validator class determines whether a Magento 2 order is eligible for a credit memo (refund). Developers use th...
Order\Validation\CanShip
This validator class determines whether a shipment can be created for a given order in Magento 2. Developers use th...
Order\Validation\InvoiceOrder
This class validates whether an order can be invoiced and whether the invoice being created is valid. Developers us...
Order\Validation\RefundInvoice
This class validates whether a refund (credit memo) can be created against an invoice in Magento 2. Developers use...
Order\Validation\RefundOrder
This class validates whether a refund (credit memo) can be created for an order in Magento 2. It performs comprehen...
Order\Validation\ShipOrder
This class validates whether an order can be shipped in Magento 2. Developers use this validator before creating sh...
Order\Webapi\ChangeOutputArray
This class modifies the output array of order item data for Web API responses by recalculating row totals with and...
RefundInvoice
This class handles the process of refunding an invoice in Magento 2. Developers would use this class (or its interf...
RefundOrder
This class handles the complete refund process for Magento 2 orders. Developers use it to programmatically create c...
Reorder
This helper class manages the reorder functionality in Magento 2's Sales module. Developers use it to check if cust...
Reorder\Data\Error
This is a Data Transfer Object (DTO) that represents an error during the reorder process in Magento 2. Developers u...
Reorder\Data\ReorderOutput
This class is a Data Transfer Object (DTO) that represents the result of a reorder operation in Magento 2. Develope...
Reorder\OrderInfoBuyRequestGetter
This class retrieves and processes product configuration data (buy request) from order items when customers reorder...
Reorder\Reorder
This class handles the reorder functionality in Magento 2, allowing customers to quickly re-add products from a pre...
ResourceModel\AbstractGrid
AbstractGrid serves as a base class for managing grid tables in the Magento Sales module, providing common function...
ResourceModel\Attribute
This class provides functionality to save individual attributes of sales entities (orders, invoices, shipments, etc...
ResourceModel\EntityAbstract
EntityAbstract serves as the base resource model for all Magento 2 sales entities (orders, invoices, shipments, cre...
ResourceModel\Grid
This class manages the synchronization of sales order data between the main order table and grid tables used for ad...
ResourceModel\GridPool
This class manages and refreshes multiple sales grid tables (like order, invoice, shipment grids) when an order is...
ResourceModel\Helper
This helper class provides database-related utility functions for Magento 2 Sales module operations. Developers use...
ResourceModel\Metadata
This class serves as a metadata provider for Sales entities, managing the relationship between model classes and th...
ResourceModel\Order
This resource model handles database operations for Magento 2 orders, including saving order data and managing orde...
ResourceModel\Order\Address
This class manages database operations for order addresses in Magento 2. Developers use it to save, load, validate,...
ResourceModel\Order\Creditmemo
This class handles database operations for credit memo entities in Magento 2. Developers interact with it indirectl...
ResourceModel\Order\Invoice
This resource model manages database operations for order invoices in Magento 2. Developers use this class when the...
ResourceModel\Order\Item
This resource model handles database operations for order items in Magento 2. Developers use this class when they n...
ResourceModel\Order\Payment
This resource model handles database operations for order payment data in Magento 2. Developers use this class indi...
ResourceModel\Order\Relation
This class manages the saving of all related entities when an order is saved in Magento 2. It ensures that order it...
ResourceModel\Order\Shipment
This resource model handles database operations for order shipments in Magento 2. Developers use this class when th...
ResourceModel\Order\Status
This resource model manages order status data in the database, including CRUD operations, status-to-state assignmen...
ResourceModel\Order\Tax
This resource model handles database operations for order tax records in Magento 2. Developers use this class when...
ResourceModel\Provider\NotSyncedDataProvider
This class provides a composite pattern implementation to retrieve IDs of records that are not synchronized between...
ResourceModel\Provider\UpdatedAtListProvider
This class identifies sales entities (orders, invoices, shipments, etc.) that need to be synchronized between main...
ResourceModel\Provider\UpdatedIdListProvider
This class retrieves a list of entity IDs from sales tables that have been updated in the main table but not yet sy...
ResourceModel\Report
This is a base resource model for sales reports in Magento 2. It provides a flexible way to dynamically initialize...
ResourceModel\Report\AbstractReport
This abstract class serves as a base for all sales report resource models in Magento 2. Developers extend this clas...
ResourceModel\Report\Bestsellers
This class manages the aggregation and generation of bestseller product reports in Magento 2. Developers would use...
ResourceModel\Report\Invoiced
This resource model aggregates invoice-related sales data for reporting purposes in Magento 2. Developers use this...
ResourceModel\Report\Order
This resource model aggregates sales order data for reporting purposes in Magento 2. It generates statistical summa...
ResourceModel\Report\Refunded
This class manages the aggregation and reporting of refunded order data in Magento 2. Developers use this class whe...
ResourceModel\Report\Shipping
This class aggregates shipping data from sales orders and invoices into reporting tables for analysis and display i...
ResourceModel\SalesOrderStatusChangeHistory
This resource model manages the sales order status change history by tracking when order statuses change over time....
Rss\NewOrder
This class provides RSS feed functionality for new orders in Magento 2's admin panel. It generates an RSS feed cont...
Rss\OrderStatus
This class provides RSS feed functionality for order status updates in Magento 2. Developers use it to generate RSS...
Rss\Signature
This class provides signature generation and validation functionality for RSS feeds in Magento 2's Sales module. De...
RtlTextHandler
This class handles Right-to-Left (RTL) text processing for Arabic and Hebrew languages in Magento's Sales module. D...
SalesEntityCommentValidator
This helper validates whether a user has permission to edit comments on sales entities like credit memos, invoices,...
Service\CreditmemoService
The CreditmemoService class manages credit memo operations in Magento 2, including processing refunds, retrieving c...
Service\InvoiceService
This service class handles invoice operations in Magento 2, including creating invoices from orders, capturing paym...
Service\OrderService
OrderService is the main service class for managing order operations in Magento 2. Developers use this class to per...
Service\PaymentFailuresService
This service handles failed payment transactions in Magento 2 by sending notification emails to store administrator...
Service\ShipmentService
This service class provides centralized operations for managing shipments in Magento 2. Developers use this class t...
ShipOrder
This class handles the creation and processing of shipments for orders in Magento 2. Developers would use this serv...
Status\ListStatus
This class manages a collection of status information items for sales entities in Magento 2. Developers use it to t...
Validator
This class serves as a centralized validation orchestrator for sales entities in Magento 2. It accepts an entity (l...
ValidatorResult
This class stores and manages validation result messages in Magento 2 Sales operations. Developers use it to collec...
ValidatorResultMerger
This class merges multiple validator results into a single unified result object in Magento 2's Sales module. Devel...