Copied!

BeforeCreateOrderEvent

BeforeCreateOrderEvent.php : 16
Extends BeforeEvent

Event emitted before action execution.

Methods

public__construct()

BeforeCreateOrderEvent.php : 22
public __construct(OrderCreateStruct $createStruct[, OrderInterface|null $orderResult = null ])

Parameters

Name Type Default value Description
$createStruct OrderCreateStruct - -
$orderResult OrderInterface|null null -

publicgetCreateStruct()

BeforeCreateOrderEvent.php : 28
public getCreateStruct() : OrderCreateStruct

Return values

OrderCreateStruct

publicgetOrderResult()

BeforeCreateOrderEvent.php : 33
public getOrderResult() : OrderInterface

Return values

OrderInterface

publichasOrderResult()

BeforeCreateOrderEvent.php : 49
public hasOrderResult() : bool

Return values

bool

publicsetOrderResult()

BeforeCreateOrderEvent.php : 44
public setOrderResult(OrderInterface|null $orderResult) : void

Parameters

Name Type Default value Description
$orderResult OrderInterface|null - -