SellingUnitBuilderInterface
in
Table of Contents
- build() : SellingUnitInterface
- withDispatcher() : SellingUnitBuilderInterface
- withId() : SellingUnitBuilderInterface
- withProduct() : SellingUnitBuilderInterface
- withRequestedQuantity() : mixed
- withXtcPrice() : SellingUnitBuilderInterface
Methods
build()
public
build() : SellingUnitInterface
Return values
SellingUnitInterface —withDispatcher()
public
withDispatcher(EventDispatcherInterface $dispatcher) : SellingUnitBuilderInterface
Parameters
- $dispatcher : EventDispatcherInterface
Return values
SellingUnitBuilderInterface —withId()
public
withId(SellingUnitId $id) : SellingUnitBuilderInterface
Parameters
- $id : SellingUnitId
Return values
SellingUnitBuilderInterface —withProduct()
public
withProduct(ProductDataInterface $product) : SellingUnitBuilderInterface
Parameters
- $product : ProductDataInterface
Return values
SellingUnitBuilderInterface —withRequestedQuantity()
public
withRequestedQuantity(QuantityInterface $quantity) : mixed
Parameters
- $quantity : QuantityInterface
Return values
mixed —withXtcPrice()
public
withXtcPrice(PriceDataInterface $xtcPrice) : SellingUnitBuilderInterface
Parameters
- $xtcPrice : PriceDataInterface