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

Автор: Adam Piotrowski ([email protected])
Наследование: extends WellCommerce\Bundle\DoctrineBundle\Entity\EntityInterface, extends WellCommerce\Bundle\CoreBundle\Entity\TimestampableInterface, extends WellCommerce\Bundle\AvailabilityBundle\Entity\AvailabilityAwareInterface, extends WellCommerce\Bundle\ProductBundle\Entity\ProductAwareInterface, extends WellCommerce\Bundle\AppBundle\Entity\HierarchyAwareInterface, extends WellCommerce\Bundle\MediaBundle\Entity\MediaAwareInterface
Показать файл Открыть проект Примеры использования интерфейса

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

Метод Описание
getModifierType ( ) : string
getModifierValue ( ) : float
getOptions ( ) : Doctrine\Common\Collections\Collection
getSellPrice ( ) : DiscountablePrice
getStock ( ) : integer
getSymbol ( ) : string
getWeight ( ) : float
setModifierType ( string $modifierType )
setModifierValue ( float $modifierValue )
setOptions ( Doctrine\Common\Collections\Collection $options )
setSellPrice ( DiscountablePrice $sellPrice )
setStock ( integer $stock )
setSymbol ( string $symbol )
setWeight ( float $weight )

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

public setModifierType ( string $modifierType )
$modifierType string

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

public setModifierValue ( float $modifierValue )
$modifierValue float

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

public setOptions ( Doctrine\Common\Collections\Collection $options )
$options Doctrine\Common\Collections\Collection

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

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

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

public setStock ( integer $stock )
$stock integer

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

public setSymbol ( string $symbol )
$symbol string

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

public setWeight ( float $weight )
$weight float