OnGetSellingUnitVpeEvent
in package
implements
OnGetSellingUnitVpeEventInterface, StoppableEventInterface
Class OnGetSellingUnitVpeEvent
Interfaces, Classes and Traits
- OnGetSellingUnitVpeEventInterface
- StoppableEventInterface
Table of Contents
- $id : SellingUnitId
- $product : ProductDataInterface
- $stopped : bool
- $vpe : Vpe
- __construct() : mixed
- OnGetSellingUnitVpeEvent constructor.
- id() : SellingUnitId
- isPropagationStopped() : bool
- product() : ProductDataInterface
- setVpe() : void
- stop() : void
- vpe() : Vpe
Properties
$id
protected
SellingUnitId
$id
$product
protected
ProductDataInterface
$product
$stopped
protected
bool
$stopped
= false
$vpe
protected
Vpe
$vpe
= []
Methods
__construct()
OnGetSellingUnitVpeEvent constructor.
public
__construct(SellingUnitId $id, ProductDataInterface $product) : mixed
Parameters
- $id : SellingUnitId
- $product : ProductDataInterface
Return values
mixed —id()
public
id() : SellingUnitId
Tags
Return values
SellingUnitId —isPropagationStopped()
public
isPropagationStopped() : bool
Tags
Return values
bool —product()
public
product() : ProductDataInterface
Tags
Return values
ProductDataInterface —setVpe()
public
setVpe(Vpe|null $vpe, int $priority) : void
Parameters
- $vpe : Vpe|null
- $priority : int
Tags
Return values
void —stop()
public
stop() : void
Tags
Return values
void —vpe()
public
vpe() : Vpe