ProductInfoBuilder
in package
implements
ProductInfoBuilderInterface
Class ProductInfoBuilder
Interfaces, Classes and Traits
- ProductInfoBuilderInterface
- Interface ProductInfoBuilderInterface
Table of Contents
- $availabilityDate : AvailabilityDate
- $description : Description
- $discountAllowed : DiscountAllowed
- $legalAgeFlag : LegalAgeFlag
- $name : Name
- $numberOfOrders : NumberOfOrders
- $releaseDate : ReleaseDate
- $showAdditionalPriceInformation : ShowAdditionalPriceInformation
- $showReleaseDate : bool
- $showWeight : ShowWeight
- $status : ProductStatus
- $tabs : TabCollection
- $url : Url
- build() : ProductInfoInterface
- create() : ProductInfoBuilderInterface
- reset() : ProductInfoBuilderInterface
- withAvailabilityDate() : ProductInfoBuilderInterface
- withDescription() : ProductInfoBuilderInterface
- withDiscountAllowed() : ProductInfoBuilderInterface
- withLegalAgeFlag() : ProductInfoBuilderInterface
- withName() : ProductInfoBuilderInterface
- withNumberOfOrders() : ProductInfoBuilderInterface
- withReleaseDate() : ProductInfoBuilderInterface
- withShowAdditionalPriceInformation() : ProductInfoBuilderInterface
- withShowWeight() : ProductInfoBuilderInterface
- withStatus() : ProductInfoBuilderInterface
- withTabs() : ProductInfoBuilderInterface
- withUrl() : ProductInfoBuilderInterface
Properties
$availabilityDate
protected
AvailabilityDate
$availabilityDate
$description
protected
Description
$description
$discountAllowed
protected
DiscountAllowed
$discountAllowed
$legalAgeFlag
protected
LegalAgeFlag
$legalAgeFlag
$name
protected
Name
$name
$numberOfOrders
protected
NumberOfOrders
$numberOfOrders
$releaseDate
protected
ReleaseDate
$releaseDate
$showAdditionalPriceInformation
protected
ShowAdditionalPriceInformation
$showAdditionalPriceInformation
$showReleaseDate
protected
bool
$showReleaseDate
$showWeight
protected
ShowWeight
$showWeight
$status
protected
ProductStatus
$status
$tabs
protected
TabCollection
$tabs
$url
protected
Url
$url
Methods
build()
public
build() : ProductInfoInterface
Tags
Return values
ProductInfoInterface —create()
public
static create() : ProductInfoBuilderInterface
Tags
Return values
ProductInfoBuilderInterface —reset()
public
reset() : ProductInfoBuilderInterface
Tags
Return values
ProductInfoBuilderInterface —withAvailabilityDate()
public
withAvailabilityDate(AvailabilityDate $availabilityDate) : ProductInfoBuilderInterface
Parameters
- $availabilityDate : AvailabilityDate
Tags
Return values
ProductInfoBuilderInterface —withDescription()
public
withDescription(Description $description) : ProductInfoBuilderInterface
Parameters
- $description : Description
Tags
Return values
ProductInfoBuilderInterface —withDiscountAllowed()
public
withDiscountAllowed(DiscountAllowed $discountAllowed) : ProductInfoBuilderInterface
Parameters
- $discountAllowed : DiscountAllowed
Tags
Return values
ProductInfoBuilderInterface —withLegalAgeFlag()
public
withLegalAgeFlag(LegalAgeFlag $legalAgeFlag) : ProductInfoBuilderInterface
Parameters
- $legalAgeFlag : LegalAgeFlag
Tags
Return values
ProductInfoBuilderInterface —withName()
public
withName(Name $name) : ProductInfoBuilderInterface
Parameters
- $name : Name
Tags
Return values
ProductInfoBuilderInterface —withNumberOfOrders()
public
withNumberOfOrders(NumberOfOrders $numberOfOrders) : ProductInfoBuilderInterface
Parameters
- $numberOfOrders : NumberOfOrders
Tags
Return values
ProductInfoBuilderInterface —withReleaseDate()
public
withReleaseDate(ReleaseDate $releaseDate) : ProductInfoBuilderInterface
Parameters
- $releaseDate : ReleaseDate
Tags
Return values
ProductInfoBuilderInterface —withShowAdditionalPriceInformation()
public
withShowAdditionalPriceInformation(ShowAdditionalPriceInformation $information) : ProductInfoBuilderInterface
Parameters
- $information : ShowAdditionalPriceInformation
Return values
ProductInfoBuilderInterface —withShowWeight()
public
withShowWeight(ShowWeight $showWeight) : ProductInfoBuilderInterface
Parameters
- $showWeight : ShowWeight
Tags
Return values
ProductInfoBuilderInterface —withStatus()
public
withStatus(ProductStatus $status) : ProductInfoBuilderInterface
Parameters
- $status : ProductStatus
Tags
Return values
ProductInfoBuilderInterface —withTabs()
public
withTabs(TabCollection $tabs) : ProductInfoBuilderInterface
Parameters
- $tabs : TabCollection
Tags
Return values
ProductInfoBuilderInterface —withUrl()
public
withUrl(Url $url) : ProductInfoBuilderInterface
Parameters
- $url : Url