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
파일 보기 프로젝트 열기: wellcommerce/wellcommerce 0 사용 예제들

공개 메소드들

메소드 설명
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