InvoiceItems
Magento\SalesGraphQl\Model\Resolver\Invoice\InvoiceItems
What it does
This resolver fetches and formats invoice item data for GraphQL queries in Magento 2.
Developers use this class when building or extending GraphQL endpoints that need to return detailed information about items within an invoice, including product details, quantities, prices, and discount information.
It processes invoice items by enriching them with related order item data and formatting the response for GraphQL consumption.
Public Methods
- resolve()
- getInvoiceItems()