OnGetSellingUnitStockInfoEvent
in package
implements
OnGetSellingUnitStockInfoEventInterface
Interfaces, Classes and Traits
Table of Contents
- $id : SellingUnitId
- $product : ProductDataInterface
- $requestedQuantity : QuantityInterface
- $stock : SellingUnitStockInterface
- __construct() : mixed
- OnGetSellingUnitStockInfoEvent constructor.
- id() : SellingUnitId
- product() : ProductDataInterface
- requestedQuantity() : QuantityInterface
- setStock() : void
- stock() : SellingUnitStockInterface
Properties
$id
protected
SellingUnitId
$id
$product
protected
ProductDataInterface
$product
$requestedQuantity
protected
QuantityInterface
$requestedQuantity
$stock
protected
SellingUnitStockInterface
$stock
Methods
__construct()
OnGetSellingUnitStockInfoEvent constructor.
public
__construct(SellingUnitId $id, ProductDataInterface $product, QuantityInterface $requestedQuantity) : mixed
Parameters
- $id : SellingUnitId
- $product : ProductDataInterface
- $requestedQuantity : QuantityInterface
Return values
mixed —id()
public
id() : SellingUnitId
Return values
SellingUnitId —product()
public
product() : ProductDataInterface
Return values
ProductDataInterface —requestedQuantity()
public
requestedQuantity() : QuantityInterface
Return values
QuantityInterface —setStock()
public
setStock(SellingUnitStockInterface $stock) : void
Parameters
- $stock : SellingUnitStockInterface
Tags
Return values
void —stock()
public
stock() : SellingUnitStockInterface