PHP Interface WellCommerce\Bundle\ProductBundle\Entity\VariantInterface

Author: Adam Piotrowski ([email protected])
Inheritance: 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
Show file Open project: wellcommerce/wellcommerce Interface Usage Examples

Public Methods

Method Description
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 )

Method Details

getModifierType() public method

public getModifierType ( ) : string
return string

getModifierValue() public method

public getModifierValue ( ) : float
return float

getOptions() public method

public getOptions ( ) : Doctrine\Common\Collections\Collection
return Doctrine\Common\Collections\Collection

getSellPrice() public method

public getSellPrice ( ) : DiscountablePrice
return WellCommerce\Bundle\AppBundle\Entity\DiscountablePrice

getStock() public method

public getStock ( ) : integer
return integer

getSymbol() public method

public getSymbol ( ) : string
return string

getWeight() public method

public getWeight ( ) : float
return float

setModifierType() public method

public setModifierType ( string $modifierType )
$modifierType string

setModifierValue() public method

public setModifierValue ( float $modifierValue )
$modifierValue float

setOptions() public method

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

setSellPrice() public method

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

setStock() public method

public setStock ( integer $stock )
$stock integer

setSymbol() public method

public setSymbol ( string $symbol )
$symbol string

setWeight() public method

public setWeight ( float $weight )
$weight float