OnGetSellingUnitAvailableQuantityEventInterface
extends
BasicSellingUnitEventInterface, StoppableEventInterface
in
Table of Contents
- addQuantity() : void
- buildQuantity() : AvailableQuantity
- id() : SellingUnitId
- invalidateQuantity() : void
- product() : ProductDataInterface
- requested() : QuantityInterface
- setMainQuantity() : void
- stopPropagation() : void
Methods
addQuantity()
public
addQuantity(ModifierQuantityInterface $quantity) : void
Parameters
- $quantity : ModifierQuantityInterface
Return values
void —buildQuantity()
public
buildQuantity() : AvailableQuantity
Return values
AvailableQuantity —id()
public
id() : SellingUnitId
Return values
SellingUnitId —invalidateQuantity()
public
invalidateQuantity() : void
Return values
void —product()
public
product() : ProductDataInterface
Return values
ProductDataInterface —requested()
public
requested() : QuantityInterface
Return values
QuantityInterface —setMainQuantity()
public
setMainQuantity(ModifierQuantityInterface|null $quantity, int $priority) : void
Parameters
- $quantity : ModifierQuantityInterface|null
- $priority : int
Return values
void —stopPropagation()
public
stopPropagation() : void