Свойство | 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 |
Méthode | 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 ) |
Méthode | 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 ( ) : |
||
Résultat |
public getBuyPriceTax ( ) : WellCommerce\Bundle\TaxBundle\Entity\TaxInterface | ||
Résultat | WellCommerce\Bundle\TaxBundle\Entity\TaxInterface |
public getCategories ( ) : Doctrine\Common\Collections\Collection | ||
Résultat | Doctrine\Common\Collections\Collection |
public getDimension ( ) : |
||
Résultat |
public getProductPhotos ( ) : Doctrine\Common\Collections\Collection | ||
Résultat | Doctrine\Common\Collections\Collection |
public getReviews ( ) : Doctrine\Common\Collections\Collection | ||
Résultat | Doctrine\Common\Collections\Collection |
public getSellPrice ( ) : |
||
Résultat |
public getSellPriceTax ( ) : WellCommerce\Bundle\TaxBundle\Entity\TaxInterface | ||
Résultat | WellCommerce\Bundle\TaxBundle\Entity\TaxInterface |
public getShippingCostCurrency ( ) : string | ||
Résultat | string |
public getShippingCostGrossPrice ( ) : float | ||
Résultat | float |
public getShippingCostQuantity ( ) : integer | ||
Résultat | integer |
public getStatuses ( ) : Doctrine\Common\Collections\Collection | ||
Résultat | Doctrine\Common\Collections\Collection |
public getVariants ( ) : Doctrine\Common\Collections\Collection | ||
Résultat | 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 | ||
Résultat | WellCommerce\Bundle\AttributeBundle\Entity\AttributeGroupInterface |
protected Price,WellCommerce\Bundle\AppBundle\Entity $buyPrice | ||
Résultat |
protected TaxInterface,WellCommerce\Bundle\TaxBundle\Entity $buyPriceTax | ||
Résultat | WellCommerce\Bundle\TaxBundle\Entity\TaxInterface |
protected Collection,Doctrine\Common\Collections $categories | ||
Résultat | Doctrine\Common\Collections\Collection |
protected Dimension,WellCommerce\Bundle\AppBundle\Entity $dimension | ||
Résultat |
protected Collection,Doctrine\Common\Collections $productPhotos | ||
Résultat | Doctrine\Common\Collections\Collection |
protected Collection,Doctrine\Common\Collections $reviews | ||
Résultat | Doctrine\Common\Collections\Collection |
protected DiscountablePrice,WellCommerce\Bundle\AppBundle\Entity $sellPrice | ||
Résultat |
protected TaxInterface,WellCommerce\Bundle\TaxBundle\Entity $sellPriceTax | ||
Résultat | WellCommerce\Bundle\TaxBundle\Entity\TaxInterface |
protected Collection,Doctrine\Common\Collections $statuses | ||
Résultat | Doctrine\Common\Collections\Collection |
protected Collection,Doctrine\Common\Collections $variants | ||
Résultat | Doctrine\Common\Collections\Collection |