OrderCancellation Module
CancelOrder
This class handles the complete order cancellation process in Magento 2, including processing refunds for both online and offline payments, updating o...
Config\Backend\Reasons
This backend model validates and processes order cancellation reasons stored in Magento's system configuration. It ensures that at least one cancellat...
Config\Config
This config model manages order cancellation settings for Magento 2 stores. Developers use it to check if order cancellation is enabled for a specific...
CustomerCanCancel
This model determines whether a customer is allowed to cancel an order based on its current state. Developers use this class to validate order cancell...
Email\ConfirmationKeySender
This class sends confirmation key emails to guest customers when they request to cancel an order. Developers use this class to notify guests via email...
GetConfirmationKey
This class manages confirmation keys for order cancellation requests. When a customer initiates an order cancellation, this class retrieves an existin...
ResourceModel\SalesOrderConfirmCancel
This resource model manages the database operations for storing and retrieving order cancellation confirmation data for guest orders. Developers use t...