Log in
Model

PricesProvider

Magento\SalesGraphQl\Model\OrderItemPrices\PricesProvider

What it does

This class provides comprehensive pricing data for order items in GraphQL responses.

Developers use it to retrieve various price points (unit price, row totals, original prices, tax-inclusive prices, and discounts) formatted with currency information for display in order queries.

It handles complex calculations including custom product options pricing and tax calculations to ensure accurate price representation in the GraphQL API.

Public Methods

  • execute()