PriceBuilderInterface
in
Interface PriceBuilderInterface
Table of Contents
- build() : Price
- create() : self
- reset() : self
- withData() : mixed
- withProductId() : self
- withQuantity() : self
- withStatus() : self
- withTaxClassId() : self
Methods
build()
public
build() : Price
Tags
Return values
Price —create()
public
static create() : self
Return values
self —reset()
public
reset() : self
Return values
self —withData()
public
withData(string $string, mixed $value) : mixed
Parameters
- $string : string
- $value : mixed
Return values
mixed —withProductId()
public
withProductId(ProductId $productId) : self
Parameters
- $productId : ProductId
Return values
self —withQuantity()
public
withQuantity(float $value) : self
Parameters
- $value : float
Return values
self —withStatus()
public
withStatus(PriceStatus $status) : self
Parameters
- $status : PriceStatus
Return values
self —withTaxClassId()
public
withTaxClassId(int $getTaxClassId) : self
Parameters
- $getTaxClassId : int