SalesGraphQl Module
Formatter\Order
This class transforms Magento order objects into a standardized array format suitable for GraphQL API responses. Developers use this formatter when bu...
GetOrderAvailableActions
This class determines which actions are available for a specific order in GraphQL queries. It iterates through a collection of action provider classes...
GetReorderAvailableActions
This class determines if a customer can reorder a specific order in GraphQL operations. Developers use this when building GraphQL APIs to check order...
OrderItemPrices\PricesProvider
This class provides comprehensive pricing data for order items in GraphQL responses. Developers use it to retrieve various price points (unit price, r...
OrderItem\DataProvider
This class serves as a data provider for order items in GraphQL queries, fetching and formatting order item data along with associated products and or...
OrderItem\OptionsProcessor
This class processes order item product options (like custom text fields, dropdowns, checkboxes) and formats them for GraphQL API responses. Developer...
Order\OrderAddress
This class formats order address data for GraphQL responses in Magento 2. Developers use it to retrieve and structure both shipping and billing addres...
Order\OrderPayments
This class retrieves payment method information from Magento orders for GraphQL responses. Developers use it to expose order payment details (method n...
Order\Token
This class handles encryption and decryption of order tokens for guest order lookups in GraphQL. Developers use it to securely create tokens from orde...
Resolver\CreditMemo\CreditMemoComments
This GraphQL resolver extracts and formats visible credit memo comments for API responses. Developers use this class when implementing GraphQL queries...
Resolver\CreditMemo\CreditMemoItems
This resolver class handles GraphQL queries for credit memo items in Magento 2. It transforms credit memo item data into a GraphQL-compatible format,...
Resolver\CreditMemo\CreditMemoTotal
This GraphQL resolver calculates and formats the total information for credit memos in Magento 2. Developers use this class when querying credit memo...
Resolver\CreditMemos
This GraphQL resolver retrieves and formats credit memo data for a customer order. Developers use this class when implementing GraphQL queries that ne...
Resolver\CustomerOrders
This resolver handles GraphQL queries for retrieving a customer's order history in Magento 2. Developers use this class when implementing or customizi...
Resolver\CustomerOrders\Carrier
This resolver retrieves the shipping carrier name for a customer's order in GraphQL queries. It takes an order's shipping method code and matches it a...
Resolver\DateOfFirstOrderResolver
This resolver retrieves the date of a customer's first order for GraphQL queries in the CustomerOrders type. Developers would use this when implementi...
Resolver\GuestOrder
This GraphQL resolver handles guest order lookups, allowing customers to retrieve order details without logging in. Developers use this when implement...
Resolver\Invoice\InvoiceItems
This resolver fetches and formats invoice item data for GraphQL queries in Magento 2. Developers use this class when building or extending GraphQL end...
Resolver\Invoice\InvoiceTotal
This resolver class handles GraphQL queries for invoice total information in Magento 2. It transforms invoice and order data into a structured format...
Resolver\Invoices
This GraphQL resolver fetches and formats invoice data for customer orders in the GraphQL API. Developers use this class when building GraphQL queries...
Resolver\OrderAvailableActions
This resolver provides a list of available actions that can be performed on an order in the GraphQL API. It's used when querying order data through Gr...
Resolver\OrderCustomerInfo
This GraphQL resolver extracts and returns customer name information (firstname, lastname, middlename, prefix, suffix) from an order object. Developer...
Resolver\OrderIsVirtual
This resolver determines whether a customer order contains only virtual products (downloadable or non-shippable items) in Magento's GraphQL API. Devel...
Resolver\OrderItem
This GraphQL resolver retrieves a single order item entity for GraphQL queries. Developers use this class when building GraphQL schemas that need to f...
Resolver\OrderItemPrices
This GraphQL resolver provides price information for individual order items when querying order data through the GraphQL API. Developers use this clas...
Resolver\OrderItems
This GraphQL resolver handles fetching and returning order items for a customer's order in the GraphQL API. It filters out child items (like configura...
Resolver\OrderStatusChangeDate
This GraphQL resolver retrieves the date when an order's status was last changed. Developers use this class to expose the order status change timestam...
Resolver\OrderTotal
This GraphQL resolver class fetches and formats complete order total information including grand totals, subtotals, taxes, discounts, and shipping cos...
Resolver\Orders
This GraphQL resolver fetches and returns a list of orders for the currently authenticated customer. Developers use this class to expose order data th...
Resolver\ProductResolver
This resolver fetches product data for associated products in GraphQL queries, specifically for products linked to sales orders or quotes. It retrieve...
Resolver\Reorder
This GraphQL resolver handles customer reorder requests, allowing authenticated customers to recreate a previous order's items in their current cart....
Resolver\Shipment\ShipmentItems
This GraphQL resolver retrieves the list of items included in a shipment when querying shipment data through Magento's GraphQL API. Developers use thi...
Resolver\Shipment\ShipmentTracking
This GraphQL resolver retrieves tracking information for a shipment in Magento 2. Developers use this class when implementing GraphQL queries that nee...
Resolver\Shipments
This GraphQL resolver retrieves shipment information for a customer's order. Developers use this class when building GraphQL queries that need to retu...
Resolver\Token
This GraphQL resolver generates an encrypted token for a customer's order using the order increment ID, billing email, and billing last name. Develope...
SalesItem\ShippingTaxCalculator
This class calculates and aggregates shipping tax information for partial order documents like invoices and credit memos in GraphQL responses. Develop...
Shipment\ItemProvider
This class retrieves and formats shipment item data for GraphQL API responses in Magento 2. Developers use this class when they need to prepare shipme...
Shipment\Item\ShipmentItemFormatter
This class formats shipment item data into a structured array suitable for GraphQL API responses. Developers use this formatter when exposing order sh...
TypeResolver\CreditMemoItem
This class resolves the concrete GraphQL type for credit memo items based on the product type. It's used by Magento's GraphQL API to determine which s...
TypeResolver\InvoiceItem
This class resolves the concrete GraphQL type for invoice items based on their product type. When a GraphQL query requests invoice items, this resolve...
TypeResolver\OrderItem
This class resolves the concrete GraphQL type for order items based on their product type (simple, configurable, bundle, etc.). Developers use this wh...
TypeResolver\ShipmentItem
This class resolves the concrete GraphQL type for shipment items based on the product type (simple, configurable, bundle, etc.). Developers use this w...