OnGetSellingUnitPriceEvent
in package
implements
OnGetSellingUnitPriceEventInterface
Uses
SellingUnitEventTrait
Class OnGetSellingUnitPriceEvent
Interfaces, Classes and Traits
- OnGetSellingUnitPriceEventInterface
- Interface OnGetSellingUnitPriceEventInterface
Table of Contents
- $languageId : LanguageId
- $modifiers : ModifierIdentifierCollectionInterface
- $price : Price
- $priceBuilder : PriceBuilderInterface
- $product : ProductDataInterface
- $productId : ProductId
- $quantity : SelectedQuantity
- $xtcPrice : PriceDataInterface
- $id : SellingUnitId
- __construct() : mixed
- OnGetSellingUnitPriceEvent constructor.
- builder() : PriceBuilderInterface
- id() : SellingUnitId
- languageId() : LanguageId
- modifiers() : ModifierIdentifierCollectionInterface
- product() : ProductDataInterface
- productId() : ProductId
- quantity() : QuantityInterface
- xtcPrice() : PriceDataInterface|null
Properties
$languageId
protected
LanguageId
$languageId
$modifiers
protected
ModifierIdentifierCollectionInterface
$modifiers
$price
protected
Price
$price
$priceBuilder
protected
PriceBuilderInterface
$priceBuilder
$product
protected
ProductDataInterface
$product
$productId
protected
ProductId
$productId
$quantity
protected
SelectedQuantity
$quantity
$xtcPrice
protected
PriceDataInterface
$xtcPrice
$id
private
SellingUnitId
$id
Methods
__construct()
OnGetSellingUnitPriceEvent constructor.
public
__construct(SellingUnitId $id, ProductDataInterface $product, PriceDataInterface $xtcPrice, PriceBuilderInterface $priceBuilder, QuantityInterface $quantity) : mixed
Parameters
- $id : SellingUnitId
- $product : ProductDataInterface
- $xtcPrice : PriceDataInterface
- $priceBuilder : PriceBuilderInterface
- $quantity : QuantityInterface
Return values
mixed —builder()
public
builder() : PriceBuilderInterface
Tags
Return values
PriceBuilderInterface —id()
public
id() : SellingUnitId
Tags
Return values
SellingUnitId —languageId()
public
languageId() : LanguageId
Tags
Return values
LanguageId —modifiers()
public
modifiers() : ModifierIdentifierCollectionInterface
Tags
Return values
ModifierIdentifierCollectionInterface —product()
public
product() : ProductDataInterface
Return values
ProductDataInterface —productId()
public
productId() : ProductId
Tags
Return values
ProductId —quantity()
public
quantity() : QuantityInterface
Tags
Return values
QuantityInterface —xtcPrice()
public
xtcPrice() : PriceDataInterface|null