Log in
Model

OrderTotal

Magento\SalesGraphQl\Model\Resolver\OrderTotal

What it does

This GraphQL resolver class fetches and formats complete order total information including grand totals, subtotals, taxes, discounts, and shipping costs.

Developers use this when building GraphQL queries that need to retrieve detailed financial breakdowns of Magento 2 orders, with all monetary values properly formatted with their currency codes.

Public Methods

  • resolve()