Model
CancellationReason
Magento\OrderCancellationGraphQl\Model\Resolver\CancellationReason
What it does
This GraphQL resolver extracts and returns the description field from a CancellationReason object.
Developers use this when implementing GraphQL queries that need to retrieve human-readable descriptions of order cancellation reasons, such as displaying available cancellation options to customers or showing why an order was cancelled.
Public Methods
- resolve()