Свойство | Тип | Описание | |
---|---|---|---|
$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 |
Метод | Описание | |
---|---|---|
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 ) |
Метод | Описание | |
---|---|---|
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 ( ) : |
||
Результат |
public getBuyPriceTax ( ) : WellCommerce\Bundle\TaxBundle\Entity\TaxInterface | ||
Результат | WellCommerce\Bundle\TaxBundle\Entity\TaxInterface |
public getCategories ( ) : Doctrine\Common\Collections\Collection | ||
Результат | Doctrine\Common\Collections\Collection |
public getDimension ( ) : |
||
Результат |
public getProductPhotos ( ) : Doctrine\Common\Collections\Collection | ||
Результат | Doctrine\Common\Collections\Collection |
public getReviews ( ) : Doctrine\Common\Collections\Collection | ||
Результат | Doctrine\Common\Collections\Collection |
public getSellPrice ( ) : |
||
Результат |
public getSellPriceTax ( ) : WellCommerce\Bundle\TaxBundle\Entity\TaxInterface | ||
Результат | WellCommerce\Bundle\TaxBundle\Entity\TaxInterface |
public getShippingCostCurrency ( ) : string | ||
Результат | string |
public getShippingCostGrossPrice ( ) : float | ||
Результат | float |
public getShippingCostQuantity ( ) : integer | ||
Результат | integer |
public getStatuses ( ) : Doctrine\Common\Collections\Collection | ||
Результат | Doctrine\Common\Collections\Collection |
public getVariants ( ) : Doctrine\Common\Collections\Collection | ||
Результат | 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 | ||
Результат | WellCommerce\Bundle\AttributeBundle\Entity\AttributeGroupInterface |
protected Price,WellCommerce\Bundle\AppBundle\Entity $buyPrice | ||
Результат |
protected TaxInterface,WellCommerce\Bundle\TaxBundle\Entity $buyPriceTax | ||
Результат | WellCommerce\Bundle\TaxBundle\Entity\TaxInterface |
protected Collection,Doctrine\Common\Collections $categories | ||
Результат | Doctrine\Common\Collections\Collection |
protected Dimension,WellCommerce\Bundle\AppBundle\Entity $dimension | ||
Результат |
protected Collection,Doctrine\Common\Collections $productPhotos | ||
Результат | Doctrine\Common\Collections\Collection |
protected Collection,Doctrine\Common\Collections $reviews | ||
Результат | Doctrine\Common\Collections\Collection |
protected DiscountablePrice,WellCommerce\Bundle\AppBundle\Entity $sellPrice | ||
Результат |
protected TaxInterface,WellCommerce\Bundle\TaxBundle\Entity $sellPriceTax | ||
Результат | WellCommerce\Bundle\TaxBundle\Entity\TaxInterface |
protected Collection,Doctrine\Common\Collections $statuses | ||
Результат | Doctrine\Common\Collections\Collection |
protected Collection,Doctrine\Common\Collections $variants | ||
Результат | Doctrine\Common\Collections\Collection |