Model
CleanExpiredOrders
Magento\Sales\Model\CronJob\CleanExpiredOrders
What it does
This class provides automated cleanup functionality for expired pending payment orders via a cron job.
Developers would use this to automatically cancel orders that have been in pending payment status longer than the configured lifetime threshold, helping maintain database cleanliness and accurately reflect order statuses.
Public Methods
- execute()