OnGetProductInfoEvent
in package
implements
OnGetProductInfoEventInterface
Uses
SellingUnitEventTrait
Class OnGetProductInfoEvent
Interfaces, Classes and Traits
- OnGetProductInfoEventInterface
- Interface OnGetProductInfoEventInterface
Table of Contents
- $builder : ProductInfoBuilderInterface
- $dispatcher : EventDispatcherInterface
- $languageId : LanguageId
- $modifiers : ModifierIdentifierCollectionInterface
- $product : ProductDataInterface
- $productId : ProductId
- $quantity : AbstractQuantity
- $xtcPrice : xtcPrice_ORIGIN
- $id : SellingUnitId
- __construct() : mixed
- OnGetProductInfoEvent constructor.
- builder() : ProductInfoBuilderInterface
- dispatcher() : EventDispatcherInterface
- id() : SellingUnitId
- languageId() : LanguageId
- modifierIdentifiers() : ModifierIdentifierCollectionInterface
- product() : ProductDataInterface
- productId() : ProductId
- xtcPrice() : PriceDataInterface|null
Properties
$builder
protected
ProductInfoBuilderInterface
$builder
$dispatcher
protected
EventDispatcherInterface
$dispatcher
$languageId
protected
LanguageId
$languageId
$modifiers
protected
ModifierIdentifierCollectionInterface
$modifiers
$product
protected
ProductDataInterface
$product
$productId
protected
ProductId
$productId
$quantity
protected
AbstractQuantity
$quantity
$xtcPrice
protected
xtcPrice_ORIGIN
$xtcPrice
$id
private
SellingUnitId
$id
Methods
__construct()
OnGetProductInfoEvent constructor.
public
__construct(ProductDataInterface $product, ProductId $productId, ModifierIdentifierCollectionInterface $modifiers, LanguageId $languageId, ProductInfoBuilderInterface $builder, PriceDataInterface $xtcPrice, EventDispatcherInterface $dispatcher) : mixed
Parameters
- $product : ProductDataInterface
- $productId : ProductId
- $modifiers : ModifierIdentifierCollectionInterface
- $languageId : LanguageId
- $builder : ProductInfoBuilderInterface
- $xtcPrice : PriceDataInterface
- $dispatcher : EventDispatcherInterface
Return values
mixed —builder()
public
builder() : ProductInfoBuilderInterface
Tags
Return values
ProductInfoBuilderInterface —dispatcher()
public
dispatcher() : EventDispatcherInterface
Return values
EventDispatcherInterface —id()
public
id() : SellingUnitId
Return values
SellingUnitId —languageId()
public
languageId() : LanguageId
Tags
Return values
LanguageId —modifierIdentifiers()
public
modifierIdentifiers() : ModifierIdentifierCollectionInterface
Tags
Return values
ModifierIdentifierCollectionInterface —product()
public
product() : ProductDataInterface
Return values
ProductDataInterface —productId()
public
productId() : ProductId
Tags
Return values
ProductId —xtcPrice()
public
xtcPrice() : PriceDataInterface|null