Sunnysideup\EcommerceOrderstepFeedback\Model\Process\OrderStepFeedback
1 July bought +10 days start sending +20 days stop sending SO on 11 July 1 July + 10 < Now 1 July + 20 > Now.
Synopsis
class OrderStepFeedback
extends OrderStep
{
- // members
- protected string $emailClassName = OrderStepFeedbackEmail::class;
- private static boolean $verbose = false;
- private static string $table_name = 'OrderStepFeedback';
- private static array $db = ;
- private static array $defaults = ;
- // methods
- public void getCMSFields()
- public void initStep()
- public void doStep()
- public null|OrderStep nextStep()
- public void hasBeenSent()
- protected void onBeforeWrite()
- protected bool hasCustomerMessage()
- protected string myDescription()
- protected bool isReadyToGo()
- protected bool isExpiredFeedbackStep()
Hierarchy
Extends
- Sunnysideup\Ecommerce\Model\Process\OrderStep
Members
private
- $db
- $defaults
- $table_name
- $verbose
protected
- $emailClassName — string
Methods
protected
- hasCustomerMessage() — For some ordersteps this returns true...
- isExpiredFeedbackStep() — returns true if it is too late to send the feedback step.
- isReadyToGo() — returns true if the Minimum number of days is met....
- myDescription() — Explains the current order step.
- onBeforeWrite() — Event handler called before writing to the database.
public
- doStep()
- getCMSFields()
- hasBeenSent()
- initStep()
- nextStep() — can continue if emails has been sent or if there is no need to send a receipt.