SellingUnitIdWithDefaultValuesBuilder
extends SellingUnitIdBuilder
in package
Class SellingUnitIdBuilder
Table of Contents
- $dispatcher : EventDispatcherInterface
- $languageId : LanguageId
- $modifierIdCollection : ModifierIdentifierCollectionInterface
- $productId : ProductId
- __construct() : mixed
- build() : SellingUnitId
- withLanguageId() : SellingUnitIdBuilderInterface
- withModifierId() : SellingUnitIdBuilderInterface
- withProductId() : mixed
Properties
$dispatcher
protected
EventDispatcherInterface
$dispatcher
$languageId
private
LanguageId
$languageId
$modifierIdCollection
private
ModifierIdentifierCollectionInterface
$modifierIdCollection
$productId
private
ProductId
$productId
Methods
__construct()
public
__construct(EventDispatcherInterface $dispatcher) : mixed
Parameters
- $dispatcher : EventDispatcherInterface
Return values
mixed —build()
public
build() : SellingUnitId
Tags
Return values
SellingUnitId —withLanguageId()
public
withLanguageId(LanguageId $id) : SellingUnitIdBuilderInterface
Parameters
- $id : LanguageId
Tags
Return values
SellingUnitIdBuilderInterface —withModifierId()
public
withModifierId(ModifierIdentifierInterface $id) : SellingUnitIdBuilderInterface
Parameters
Tags
Return values
SellingUnitIdBuilderInterface —withProductId()
public
withProductId(ProductId $id) : mixed
Parameters
- $id : ProductId