OnGetSelectedQuantityEvent
in package
implements
OnGetSelectedQuantityEventInterface
Uses
SellingUnitEventTrait
Interfaces, Classes and Traits
Table of Contents
- $product : ProductDataInterface
- $quantityGraduation : QuantityGraduation
- $requestedQuantity : SelectedQuantity
- $selectedQuantity : SelectedQuantity
- $stock : QuantityInterface
- $xtcPrice : xtcPrice_ORIGIN
- $id : SellingUnitId
- __construct() : mixed
- OnGetSelectedQuantityEvent constructor.
- exceptionStacker() : ExceptionStacker
- id() : SellingUnitId
- product() : ProductDataInterface
- quantityGraduation() : QuantityGraduation
- requestedQuantity() : QuantityInterface
- selectedQuantity() : SelectedQuantity
- setSelectedQuantity() : void
- stock() : SellingUnitStockInterface
- xtcPrice() : PriceDataInterface|null
Properties
$product
protected
ProductDataInterface
$product
$quantityGraduation
protected
QuantityGraduation
$quantityGraduation
$requestedQuantity
protected
SelectedQuantity
$requestedQuantity
$selectedQuantity
protected
SelectedQuantity
$selectedQuantity
$stock
protected
QuantityInterface
$stock
$xtcPrice
protected
xtcPrice_ORIGIN
$xtcPrice
$id
private
SellingUnitId
$id
Methods
__construct()
OnGetSelectedQuantityEvent constructor.
public
__construct(SellingUnitId $id, QuantityInterface $requestedQuantity, QuantityGraduation $quantityGraduation, ProductDataInterface $product, SellingUnitStockInterface $stock) : mixed
Parameters
- $id : SellingUnitId
- $requestedQuantity : QuantityInterface
- $quantityGraduation : QuantityGraduation
- $product : ProductDataInterface
- $stock : SellingUnitStockInterface
Return values
mixed —exceptionStacker()
public
exceptionStacker() : ExceptionStacker
Return values
ExceptionStacker —id()
public
id() : SellingUnitId
Return values
SellingUnitId —product()
public
product() : ProductDataInterface
Return values
ProductDataInterface —quantityGraduation()
public
quantityGraduation() : QuantityGraduation
Tags
Return values
QuantityGraduation —requestedQuantity()
public
requestedQuantity() : QuantityInterface
Tags
Return values
QuantityInterface —selectedQuantity()
public
selectedQuantity() : SelectedQuantity
Tags
Return values
SelectedQuantity —setSelectedQuantity()
public
setSelectedQuantity(QuantityInterface $quantity) : void
Parameters
- $quantity : QuantityInterface
Tags
Return values
void —stock()
public
stock() : SellingUnitStockInterface
Tags
Return values
SellingUnitStockInterface —xtcPrice()
public
xtcPrice() : PriceDataInterface|null