Event emitted before action execution.
Methods¶
__construct() ¶
BeforeCreatePriceEvent.php
:
22
|
|
Parameters
Name | Type | Default value | Description |
---|---|---|---|
$createStruct | ProductPriceCreateStructInterface | - | - |
getCreateStruct() ¶
BeforeCreatePriceEvent.php
:
27
|
|
Return values
ProductPriceCreateStructInterface
getResultPrice() ¶
BeforeCreatePriceEvent.php
:
32
|
|
Return values
hasResultPrice() ¶
BeforeCreatePriceEvent.php
:
44
|
|
Return values
bool
setResultPrice() ¶
BeforeCreatePriceEvent.php
:
49
|
|
Parameters
Name | Type | Default value | Description |
---|---|---|---|
$resultPrice | PriceInterface|null | - | - |