Copied!

BeforeCreateCheckoutEvent

BeforeCreateCheckoutEvent.php : 16
Extends BeforeEvent

Event emitted before action execution.

Methods

public__construct()

BeforeCreateCheckoutEvent.php : 22
public __construct(CheckoutCreateStruct $createStruct[, CheckoutInterface|null $checkoutResult = null ])

Parameters

Name Type Default value Description
$createStruct CheckoutCreateStruct - -
$checkoutResult CheckoutInterface|null null -

publicgetCheckoutResult()

BeforeCreateCheckoutEvent.php : 33
public getCheckoutResult() : CheckoutInterface

Return values

CheckoutInterface

publicgetCreateStruct()

BeforeCreateCheckoutEvent.php : 28
public getCreateStruct() : CheckoutCreateStruct

Return values

CheckoutCreateStruct

publichasCheckoutResult()

BeforeCreateCheckoutEvent.php : 49
public hasCheckoutResult() : bool

Return values

bool

publicsetCheckoutResult()

BeforeCreateCheckoutEvent.php : 44
public setCheckoutResult(CheckoutInterface|null $checkoutResult) : void

Parameters

Name Type Default value Description
$checkoutResult CheckoutInterface|null - -