CreditMemoTotal
Magento\SalesGraphQl\Model\Resolver\CreditMemo\CreditMemoTotal
What it does
This GraphQL resolver calculates and formats the total information for credit memos in Magento 2.
Developers use this class when querying credit memo data through GraphQL to get structured totals including grand total, subtotal, taxes, shipping, discounts, and adjustments in both base and order currency.
It ensures all monetary values are properly formatted with currency codes for the GraphQL response.
Public Methods
- resolve()