Log in

OrderCancellationGraphQl Module

CancelOrderGuest

Model

This class handles the cancellation request process for guest orders in GraphQL. When a guest customer wants to cancel their order, this class generat...

ConfirmCancelOrder

Model

This model handles the confirmation and execution of guest order cancellations in Magento 2's GraphQL API. Developers use this class when implementing...

GetOrderCancellationAvailableActions

Model

This class determines if a customer can cancel an order through GraphQL by checking if order cancellation is enabled, the customer has permission to c...

Resolver\CancelOrder

Model

This GraphQL resolver handles customer order cancellation requests through the GraphQL API. Developers use this class when implementing the cancelOrde...

Resolver\CancelOrderError

Model

This GraphQL resolver transforms order cancellation error messages into a structured format with both a human-readable message and a machine-readable...

Resolver\CancellationReason

Model

This GraphQL resolver extracts and returns the description field from a CancellationReason object. Developers use this when implementing GraphQL queri...

Resolver\CancellationReasons

Model

This GraphQL resolver processes and returns order cancellation reasons for the storefront. It handles both JSON-encoded strings and array formats of c...

Resolver\ConfirmCancelOrder

Model

This GraphQL resolver handles the confirmation of order cancellations for guest customers in Magento 2. Developers use this class when implementing th...

Resolver\RequestGuestOrderCancel

Model

This GraphQL resolver handles order cancellation requests from guest customers (non-logged-in users). It validates a secure token containing order num...

Validator\ValidateConfirmRequest

Model

This validator ensures that guest order cancellation confirmation requests contain valid input data in GraphQL operations. Developers use this class t...

Validator\ValidateGuestRequest

Model

This validator ensures that guest users (non-logged-in customers) can securely cancel their orders via GraphQL by verifying they have the correct orde...

Validator\ValidateOrder

Model

This validator checks whether a customer order can be cancelled through GraphQL. Developers use this class to validate order cancellation requests by...

Validator\ValidateOrderCancellationReason

Model

This class validates whether a provided order cancellation reason is valid for a given order's store. Developers use this validator in GraphQL endpoin...

Validator\ValidateRequest

Model

This validator ensures that GraphQL order cancellation requests meet all required conditions before processing. It verifies the customer is authentica...