OnGetSellingUnitModelEvent
in package
implements
OnGetSellingUnitModelEventInterface
Class OnGetSellingUnitModelEvent
Interfaces, Classes and Traits
- OnGetSellingUnitModelEventInterface
- Interface OnGetSellingUnitModelEventInterface
Table of Contents
- $builder : ModelBuilder
- $isPropagationStopped : mixed
- $product : ProductDataInterface
- $sellingUnitId : SellingUnitId
- __construct() : mixed
- OnGetSellingUnitModelEvent constructor.
- builder() : ModelBuilderInterface
- id() : SellingUnitId
- isPropagationStopped() : bool
- product() : ProductDataInterface
- stopPropagation() : void
Properties
$builder
protected
ModelBuilder
$builder
$isPropagationStopped
protected
mixed
$isPropagationStopped
= false
$product
protected
ProductDataInterface
$product
$sellingUnitId
private
SellingUnitId
$sellingUnitId
Methods
__construct()
OnGetSellingUnitModelEvent constructor.
public
__construct(ProductDataInterface $product, SellingUnitId $sellingUnitId[, ModelBuilder|null $builder = null ]) : mixed
Parameters
- $product : ProductDataInterface
- $sellingUnitId : SellingUnitId
- $builder : ModelBuilder|null = null
Return values
mixed —builder()
public
builder() : ModelBuilderInterface
Return values
ModelBuilderInterface —id()
public
id() : SellingUnitId
Return values
SellingUnitId —isPropagationStopped()
public
isPropagationStopped() : bool
Return values
bool —product()
public
product() : ProductDataInterface
Return values
ProductDataInterface —stopPropagation()
public
stopPropagation() : void