GroupProduct
class GroupProduct implements PrimaryKeyInterface, GroupProductDependencyInterface
GroupProduct
Properties
| protected bool | $generatePrice | If TRUE summarize grouped product prices, otherwise admin defines price |
Methods
__construct()
No description
integer
getId()
Get id
mixed
getDiscount()
No description
setDiscount(float|null $discount)
No description
getBaseProduct()
No description
Collection
getGroupedSimpleProducts()
Get groupSimpleProduct
setGroupedSimpleProducts(ArrayCollection $groupSimpleProduct)
No description
bool
isGeneratePrice()
No description
setGeneratePrice(bool $generatePrice)
No description
Details
at line 85
__construct()
at line 95
integer
getId()
Get id
at line 103
mixed
getDiscount()
at line 113
GroupProduct
setDiscount(float|null $discount)
at line 123
Product
getBaseProduct()
at line 133
GroupProduct
setBaseProduct(Product $baseProduct)
at line 147
GroupProduct
addGroupedSimpleProduct(GroupSimpleProduct $groupSimpleProduct)
Add groupSimpleProduct
at line 162
GroupProduct
removeGroupedSimpleProduct(GroupSimpleProduct $groupSimpleProduct)
Remove groupSimpleProduct
at line 175
Collection
getGroupedSimpleProducts()
Get groupSimpleProduct