OnCreateSellingUnitEvent
in package
implements
OnCreateSellingUnitEventInterface
Class OnCreateSellingUnitEvent
Interfaces, Classes and Traits
Table of Contents
- $builder : SellingUnitBuilder
- $product : ProductDataInterface
- $xtcPrice : xtcPrice_ORIGIN
- $id : SellingUnitId
- __construct() : mixed
- OnSellingUnitCreateEvent constructor.
- builder() : SellingUnitBuilderInterface
- id() : SellingUnitId
- product() : ProductDataInterface
- setProduct() : mixed
- setXtcPrice() : mixed
- xtcPrice() : PriceDataInterface|null
Properties
$builder
protected
SellingUnitBuilder
$builder
$product
protected
ProductDataInterface
$product
$xtcPrice
protected
xtcPrice_ORIGIN
$xtcPrice
$id
private
SellingUnitId
$id
Methods
__construct()
OnSellingUnitCreateEvent constructor.
public
__construct(SellingUnitId $id[, $product = null ][, null $xtcPrice = null ][, QuantityInterface|null $quantity = null ]) : mixed
Parameters
- $id : SellingUnitId
- $product : = null
- $xtcPrice : null = null
- $quantity : QuantityInterface|null = null
Return values
mixed —builder()
public
builder() : SellingUnitBuilderInterface
Tags
Return values
SellingUnitBuilderInterface —id()
public
id() : SellingUnitId
Return values
SellingUnitId —product()
public
product() : ProductDataInterface
Return values
ProductDataInterface —setProduct()
public
setProduct(ProductDataInterface $product) : mixed
Parameters
- $product : ProductDataInterface
Tags
Return values
mixed —setXtcPrice()
public
setXtcPrice(PriceDataInterface $price) : mixed
Parameters
- $price : PriceDataInterface
Tags
Return values
mixed —xtcPrice()
public
xtcPrice() : PriceDataInterface|null