Log in
Model

OrderItemPrices

Magento\SalesGraphQl\Model\Resolver\OrderItemPrices

What it does

This GraphQL resolver provides price information for individual order items when querying order data through the GraphQL API.

Developers use this class when they need to retrieve detailed pricing data (like row totals, tax amounts, discounts) for items in a customer's order through GraphQL queries.

It delegates the actual price calculation to the PricesProvider service and combines it with discount information.

Public Methods

  • resolve()