Copied!

BeforeUpdateOrderEvent

BeforeUpdateOrderEvent.php : 16
Extends BeforeEvent

Event emitted before action execution.

Methods

public__construct()

BeforeUpdateOrderEvent.php : 24
public __construct(OrderInterface $order, OrderUpdateStruct $updateStruct[, OrderInterface|null $orderResult = null ])

Parameters

Name Type Default value Description
$order OrderInterface - -
$updateStruct OrderUpdateStruct - -
$orderResult OrderInterface|null null -

publicgetOrder()

BeforeUpdateOrderEvent.php : 34
public getOrder() : OrderInterface

Return values

OrderInterface

publicgetOrderResult()

BeforeUpdateOrderEvent.php : 44
public getOrderResult() : OrderInterface

Return values

OrderInterface

publicgetUpdateStruct()

BeforeUpdateOrderEvent.php : 39
public getUpdateStruct() : OrderUpdateStruct

Return values

OrderUpdateStruct

publichasOrderResult()

BeforeUpdateOrderEvent.php : 60
public hasOrderResult() : bool

Return values

bool

publicsetOrderResult()

BeforeUpdateOrderEvent.php : 55
public setOrderResult(OrderInterface|null $orderResult) : void

Parameters

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