Sunnysideup\Ecommerce\Tasks\EcommerceTaskTryToFinaliseOrders
Synopsis
class EcommerceTaskTryToFinaliseOrders
extends BuildTask
{
- // members
- protected boolean $sendEmails = true;
- protected integer $limit = 1;
- protected string $title = 'Try to finalise all orders - WILL SEND EMAILS';
- protected string $description = ' This task can be useful in moving a bunch of orders through the latest order step. It will only move orders if they can be moved through order steps. You may need to run this task several times to move all orders.';
- // methods
- public void run()
- protected void tryToFinaliseOrders()
- protected void isCli()
Hierarchy
Extends
- SilverStripe\Dev\BuildTask
Members
protected
- $description
- $limit
- $sendEmails
- $title