Property | Type | Description | |
---|---|---|---|
$attributeGroup | WellCommerce\Bundle\AttributeBundle\Entity\AttributeGroupInterface | ||
$buyPrice | |||
$buyPriceTax | WellCommerce\Bundle\TaxBundle\Entity\TaxInterface | ||
$categories | Doctrine\Common\Collections\Collection | ||
$dimension | |||
$packageSize | float | ||
$productPhotos | Doctrine\Common\Collections\Collection | ||
$reviews | Doctrine\Common\Collections\Collection | ||
$sellPrice | |||
$sellPriceTax | WellCommerce\Bundle\TaxBundle\Entity\TaxInterface | ||
$sku | string | ||
$statuses | Doctrine\Common\Collections\Collection | ||
$stock | integer | ||
$trackStock | boolean | ||
$variants | Doctrine\Common\Collections\Collection | ||
$weight | float |
Method | Description | |
---|---|---|
addCategory ( WellCommerce\Bundle\CategoryBundle\Entity\CategoryInterface $category ) | ||
addProductPhoto ( WellCommerce\Bundle\ProductBundle\Entity\ProductPhoto $photo ) | ||
getAttributeGroup ( ) | ||
getBuyPrice ( ) : |
||
getBuyPriceTax ( ) : WellCommerce\Bundle\TaxBundle\Entity\TaxInterface | ||
getCategories ( ) : Doctrine\Common\Collections\Collection | ||
getDimension ( ) : |
||
getPackageSize ( ) : float | ||
getProductPhotos ( ) : Doctrine\Common\Collections\Collection | ||
getReviews ( ) : Doctrine\Common\Collections\Collection | ||
getSellPrice ( ) : |
||
getSellPriceTax ( ) : WellCommerce\Bundle\TaxBundle\Entity\TaxInterface | ||
getShippingCostCurrency ( ) : string | ||
getShippingCostGrossPrice ( ) : float | ||
getShippingCostQuantity ( ) : integer | ||
getShippingCostWeight ( ) : float | ||
getSku ( ) : string | ||
getStatuses ( ) : Doctrine\Common\Collections\Collection | ||
getStock ( ) : integer | ||
getTrackStock ( ) : boolean | ||
getVariants ( ) : Doctrine\Common\Collections\Collection | ||
getWeight ( ) : float | ||
removeVariant ( WellCommerce\Bundle\ProductBundle\Entity\VariantInterface $variant ) | ||
setAttributeGroup ( WellCommerce\Bundle\AttributeBundle\Entity\AttributeGroupInterface $attributeGroup ) | ||
setBuyPrice ( |
||
setBuyPriceTax ( WellCommerce\Bundle\TaxBundle\Entity\TaxInterface $buyPriceTax ) | ||
setCategories ( Doctrine\Common\Collections\Collection $collection ) | ||
setDimension ( |
||
setPackageSize ( float $packageSize ) | ||
setProductPhotos ( Doctrine\Common\Collections\Collection $photos ) | ||
setSellPrice ( |
||
setSellPriceTax ( WellCommerce\Bundle\TaxBundle\Entity\TaxInterface $sellPriceTax ) | ||
setSku ( string $sku ) | ||
setStatuses ( Doctrine\Common\Collections\Collection $statuses ) | ||
setStock ( integer $stock ) | ||
setTrackStock ( boolean $trackStock ) | ||
setVariants ( Doctrine\Common\Collections\Collection $variants ) | ||
setWeight ( float $weight ) |
Method | Description | |
---|---|---|
synchronizeVariants ( Doctrine\Common\Collections\Collection $variants ) |
public addCategory ( WellCommerce\Bundle\CategoryBundle\Entity\CategoryInterface $category ) | ||
$category | WellCommerce\Bundle\CategoryBundle\Entity\CategoryInterface |
public addProductPhoto ( WellCommerce\Bundle\ProductBundle\Entity\ProductPhoto $photo ) | ||
$photo | WellCommerce\Bundle\ProductBundle\Entity\ProductPhoto |
public getBuyPrice ( ) : |
||
return |
public getBuyPriceTax ( ) : WellCommerce\Bundle\TaxBundle\Entity\TaxInterface | ||
return | WellCommerce\Bundle\TaxBundle\Entity\TaxInterface |
public getCategories ( ) : Doctrine\Common\Collections\Collection | ||
return | Doctrine\Common\Collections\Collection |
public getDimension ( ) : |
||
return |
public getProductPhotos ( ) : Doctrine\Common\Collections\Collection | ||
return | Doctrine\Common\Collections\Collection |
public getReviews ( ) : Doctrine\Common\Collections\Collection | ||
return | Doctrine\Common\Collections\Collection |
public getSellPrice ( ) : |
||
return |
public getSellPriceTax ( ) : WellCommerce\Bundle\TaxBundle\Entity\TaxInterface | ||
return | WellCommerce\Bundle\TaxBundle\Entity\TaxInterface |
public getStatuses ( ) : Doctrine\Common\Collections\Collection | ||
return | Doctrine\Common\Collections\Collection |
public getVariants ( ) : Doctrine\Common\Collections\Collection | ||
return | Doctrine\Common\Collections\Collection |
public removeVariant ( WellCommerce\Bundle\ProductBundle\Entity\VariantInterface $variant ) | ||
$variant | WellCommerce\Bundle\ProductBundle\Entity\VariantInterface |
public setAttributeGroup ( WellCommerce\Bundle\AttributeBundle\Entity\AttributeGroupInterface $attributeGroup ) | ||
$attributeGroup | WellCommerce\Bundle\AttributeBundle\Entity\AttributeGroupInterface |
public setBuyPrice ( |
||
$buyPrice |
public setBuyPriceTax ( WellCommerce\Bundle\TaxBundle\Entity\TaxInterface $buyPriceTax ) | ||
$buyPriceTax | WellCommerce\Bundle\TaxBundle\Entity\TaxInterface |
public setCategories ( Doctrine\Common\Collections\Collection $collection ) | ||
$collection | Doctrine\Common\Collections\Collection |
public setDimension ( |
||
$dimension |
public setProductPhotos ( Doctrine\Common\Collections\Collection $photos ) | ||
$photos | Doctrine\Common\Collections\Collection |
public setSellPrice ( |
||
$sellPrice |
public setSellPriceTax ( WellCommerce\Bundle\TaxBundle\Entity\TaxInterface $sellPriceTax ) | ||
$sellPriceTax | WellCommerce\Bundle\TaxBundle\Entity\TaxInterface |
public setStatuses ( Doctrine\Common\Collections\Collection $statuses ) | ||
$statuses | Doctrine\Common\Collections\Collection |
public setVariants ( Doctrine\Common\Collections\Collection $variants ) | ||
$variants | Doctrine\Common\Collections\Collection |
protected synchronizeVariants ( Doctrine\Common\Collections\Collection $variants ) | ||
$variants | Doctrine\Common\Collections\Collection |
protected AttributeGroupInterface,WellCommerce\Bundle\AttributeBundle\Entity $attributeGroup | ||
return | WellCommerce\Bundle\AttributeBundle\Entity\AttributeGroupInterface |
protected Price,WellCommerce\Bundle\AppBundle\Entity $buyPrice | ||
return |
protected TaxInterface,WellCommerce\Bundle\TaxBundle\Entity $buyPriceTax | ||
return | WellCommerce\Bundle\TaxBundle\Entity\TaxInterface |
protected Collection,Doctrine\Common\Collections $categories | ||
return | Doctrine\Common\Collections\Collection |
protected Dimension,WellCommerce\Bundle\AppBundle\Entity $dimension | ||
return |
protected Collection,Doctrine\Common\Collections $productPhotos | ||
return | Doctrine\Common\Collections\Collection |
protected Collection,Doctrine\Common\Collections $reviews | ||
return | Doctrine\Common\Collections\Collection |
protected DiscountablePrice,WellCommerce\Bundle\AppBundle\Entity $sellPrice | ||
return |
protected TaxInterface,WellCommerce\Bundle\TaxBundle\Entity $sellPriceTax | ||
return | WellCommerce\Bundle\TaxBundle\Entity\TaxInterface |
protected Collection,Doctrine\Common\Collections $statuses | ||
return | Doctrine\Common\Collections\Collection |
protected Collection,Doctrine\Common\Collections $variants | ||
return | Doctrine\Common\Collections\Collection |