PHP Интерфейс WellCommerce\Bundle\ProductBundle\Entity\ProductInterface

Автор: Adam Piotrowski ([email protected])
Наследование: extends WellCommerce\Bundle\CoreBundle\Entity\TranslatableInterface, extends WellCommerce\Bundle\CoreBundle\Entity\TimestampableInterface, extends WellCommerce\Bundle\CoreBundle\Entity\BlameableInterface, extends WellCommerce\Bundle\MultiStoreBundle\Entity\ShopCollectionAwareInterface, extends WellCommerce\Bundle\ProducerBundle\Entity\ProducerAwareInterface, extends WellCommerce\Bundle\UnitBundle\Entity\UnitAwareInterface, extends WellCommerce\Bundle\AvailabilityBundle\Entity\AvailabilityAwareInterface
Показать файл Открыть проект Примеры использования интерфейса

Открытые методы

Метод Описание
addCategory ( WellCommerce\Bundle\CategoryBundle\Entity\CategoryInterface $category )
addProductPhoto ( WellCommerce\Bundle\ProductBundle\Entity\ProductPhoto $photo )
getAttributeGroup ( ) : WellCommerce\Bundle\AttributeBundle\Entity\AttributeGroupInterface
getBuyPrice ( ) : Price
getBuyPriceTax ( ) : WellCommerce\Bundle\TaxBundle\Entity\TaxInterface
getCategories ( ) : Doctrine\Common\Collections\Collection
getDimension ( ) : Dimension
getPackageSize ( ) : float
getProductPhotos ( ) : Doctrine\Common\Collections\Collection
getReviews ( ) : Doctrine\Common\Collections\Collection
getSellPrice ( ) : DiscountablePrice
getSellPriceTax ( ) : WellCommerce\Bundle\TaxBundle\Entity\TaxInterface
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 ( Price $buyPrice )
setBuyPriceTax ( WellCommerce\Bundle\TaxBundle\Entity\TaxInterface $buyPriceTax )
setCategories ( Doctrine\Common\Collections\Collection $collection )
setDimension ( Dimension $dimension )
setPackageSize ( float $packageSize )
setProductPhotos ( Doctrine\Common\Collections\Collection $photos )
setSellPrice ( DiscountablePrice $sellPrice )
setSellPriceTax ( WellCommerce\Bundle\TaxBundle\Entity\TaxInterface $sellPriceTax )
setSku ( string $sku )
setStatuses ( Doctrine\Common\Collections\Collection $statuses ) : Doctrine\Common\Collections\Collection
setStock ( integer $stock )
setTrackStock ( boolean $trackStock )
setVariants ( Doctrine\Common\Collections\Collection $attributes )
setWeight ( float $weight )

Описание методов

addCategory() публичный Метод

public addCategory ( WellCommerce\Bundle\CategoryBundle\Entity\CategoryInterface $category )
$category WellCommerce\Bundle\CategoryBundle\Entity\CategoryInterface

addProductPhoto() публичный Метод

public addProductPhoto ( WellCommerce\Bundle\ProductBundle\Entity\ProductPhoto $photo )
$photo WellCommerce\Bundle\ProductBundle\Entity\ProductPhoto

getAttributeGroup() публичный Метод

public getAttributeGroup ( ) : WellCommerce\Bundle\AttributeBundle\Entity\AttributeGroupInterface
Результат WellCommerce\Bundle\AttributeBundle\Entity\AttributeGroupInterface

getBuyPrice() публичный Метод

public getBuyPrice ( ) : Price
Результат WellCommerce\Bundle\AppBundle\Entity\Price

getBuyPriceTax() публичный Метод

public getBuyPriceTax ( ) : WellCommerce\Bundle\TaxBundle\Entity\TaxInterface
Результат WellCommerce\Bundle\TaxBundle\Entity\TaxInterface

getCategories() публичный Метод

public getCategories ( ) : Doctrine\Common\Collections\Collection
Результат Doctrine\Common\Collections\Collection

getDimension() публичный Метод

public getDimension ( ) : Dimension
Результат WellCommerce\Bundle\AppBundle\Entity\Dimension

getPackageSize() публичный Метод

public getPackageSize ( ) : float
Результат float

getProductPhotos() публичный Метод

public getProductPhotos ( ) : Doctrine\Common\Collections\Collection
Результат Doctrine\Common\Collections\Collection

getReviews() публичный Метод

public getReviews ( ) : Doctrine\Common\Collections\Collection
Результат Doctrine\Common\Collections\Collection

getSellPrice() публичный Метод

public getSellPrice ( ) : DiscountablePrice
Результат WellCommerce\Bundle\AppBundle\Entity\DiscountablePrice

getSellPriceTax() публичный Метод

public getSellPriceTax ( ) : WellCommerce\Bundle\TaxBundle\Entity\TaxInterface
Результат WellCommerce\Bundle\TaxBundle\Entity\TaxInterface

getSku() публичный Метод

public getSku ( ) : string
Результат string

getStatuses() публичный Метод

public getStatuses ( ) : Doctrine\Common\Collections\Collection
Результат Doctrine\Common\Collections\Collection

getStock() публичный Метод

public getStock ( ) : integer
Результат integer

getTrackStock() публичный Метод

public getTrackStock ( ) : boolean
Результат boolean

getVariants() публичный Метод

public getVariants ( ) : Doctrine\Common\Collections\Collection
Результат Doctrine\Common\Collections\Collection

getWeight() публичный Метод

public getWeight ( ) : float
Результат float

removeVariant() публичный Метод

public removeVariant ( WellCommerce\Bundle\ProductBundle\Entity\VariantInterface $variant )
$variant WellCommerce\Bundle\ProductBundle\Entity\VariantInterface

setAttributeGroup() публичный Метод

public setAttributeGroup ( WellCommerce\Bundle\AttributeBundle\Entity\AttributeGroupInterface $attributeGroup )
$attributeGroup WellCommerce\Bundle\AttributeBundle\Entity\AttributeGroupInterface

setBuyPrice() публичный Метод

public setBuyPrice ( Price $buyPrice )
$buyPrice WellCommerce\Bundle\AppBundle\Entity\Price

setBuyPriceTax() публичный Метод

public setBuyPriceTax ( WellCommerce\Bundle\TaxBundle\Entity\TaxInterface $buyPriceTax )
$buyPriceTax WellCommerce\Bundle\TaxBundle\Entity\TaxInterface

setCategories() публичный Метод

public setCategories ( Doctrine\Common\Collections\Collection $collection )
$collection Doctrine\Common\Collections\Collection

setDimension() публичный Метод

public setDimension ( Dimension $dimension )
$dimension WellCommerce\Bundle\AppBundle\Entity\Dimension

setPackageSize() публичный Метод

public setPackageSize ( float $packageSize )
$packageSize float

setProductPhotos() публичный Метод

public setProductPhotos ( Doctrine\Common\Collections\Collection $photos )
$photos Doctrine\Common\Collections\Collection

setSellPrice() публичный Метод

public setSellPrice ( DiscountablePrice $sellPrice )
$sellPrice WellCommerce\Bundle\AppBundle\Entity\DiscountablePrice

setSellPriceTax() публичный Метод

public setSellPriceTax ( WellCommerce\Bundle\TaxBundle\Entity\TaxInterface $sellPriceTax )
$sellPriceTax WellCommerce\Bundle\TaxBundle\Entity\TaxInterface

setSku() публичный Метод

public setSku ( string $sku )
$sku string

setStatuses() публичный Метод

public setStatuses ( Doctrine\Common\Collections\Collection $statuses ) : Doctrine\Common\Collections\Collection
$statuses Doctrine\Common\Collections\Collection
Результат Doctrine\Common\Collections\Collection

setStock() публичный Метод

public setStock ( integer $stock )
$stock integer

setTrackStock() публичный Метод

public setTrackStock ( boolean $trackStock )
$trackStock boolean

setVariants() публичный Метод

public setVariants ( Doctrine\Common\Collections\Collection $attributes )
$attributes Doctrine\Common\Collections\Collection

setWeight() публичный Метод

public setWeight ( float $weight )
$weight float