class BuyX implements BlockEntity

Class BuyX

Properties

protected int $id
protected string $name Name of buy x promotion
protected Product $product Main product of buy x promotion
protected ProductAttributeValues $productAttributeValue Main product attribute values of buy x promotion
protected ArrayCollection $buyXQuantity List of all quantities for buy x promotion

Methods

__construct()

BuyX constructor.

int
getId()

No description

setId(int $id)

No description

string
getName()

No description

setName(string $name)

No description

getProduct()

No description

setProduct(Product|Proxy $product)

No description

setProductAttributeValue(ProductAttributeValues|Proxy $productAttributeValue)

No description

ArrayCollection
getBuyXQuantity()

No description

addBuyXQuantity(BuyXQuantity $element)

No description

setBuyXQuantity(ArrayCollection $buyXQuantity)

No description

Details

at line 91
__construct()

BuyX constructor.

at line 99
int getId()

Return Value

int

at line 109
BuyX setId(int $id)

Parameters

int $id

Return Value

BuyX

at line 119
string getName()

Return Value

string

at line 129
BuyX setName(string $name)

Parameters

string $name

Return Value

BuyX

at line 139
Product getProduct()

Return Value

Product

at line 149
BuyX setProduct(Product|Proxy $product)

Parameters

Product|Proxy $product

Return Value

BuyX

at line 159
ProductAttributeValues getProductAttributeValue()

Return Value

ProductAttributeValues

at line 169
BuyX setProductAttributeValue(ProductAttributeValues|Proxy $productAttributeValue)

Parameters

ProductAttributeValues|Proxy $productAttributeValue

Return Value

BuyX

at line 179
ArrayCollection getBuyXQuantity()

Return Value

ArrayCollection

at line 189
BuyX addBuyXQuantity(BuyXQuantity $element)

Parameters

BuyXQuantity $element

Return Value

BuyX

at line 201
BuyX setBuyXQuantity(ArrayCollection $buyXQuantity)

Parameters

ArrayCollection $buyXQuantity

Return Value

BuyX