PHP Interface WellCommerce\Bundle\OrderBundle\Entity\OrderProductInterface

Author: Adam Piotrowski ([email protected])
Inheritance: extends WellCommerce\Bundle\DoctrineBundle\Entity\EntityInterface, extends WellCommerce\Bundle\ProductBundle\Entity\ProductAwareInterface, extends WellCommerce\Bundle\ProductBundle\Entity\VariantAwareInterface, extends WellCommerce\Bundle\CoreBundle\Entity\TimestampableInterface, extends WellCommerce\Bundle\OrderBundle\Entity\OrderAwareInterface
Show file Open project: wellcommerce/wellcommerce Interface Usage Examples

Public Methods

Method Description
decreaseQuantity ( integer $decrease )
getBuyPrice ( ) : WellCommerce\Bundle\AppBundle\Entity\PriceInterface
getOptions ( ) : array
getQuantity ( ) : integer
getSellPrice ( ) : WellCommerce\Bundle\AppBundle\Entity\PriceInterface
getWeight ( ) : float
increaseQuantity ( integer $increase )
setBuyPrice ( WellCommerce\Bundle\AppBundle\Entity\PriceInterface $buyPrice )
setOptions ( array $options )
setQuantity ( integer $quantity )
setSellPrice ( WellCommerce\Bundle\AppBundle\Entity\PriceInterface $sellPrice )
setWeight ( float $weight )

Method Details

decreaseQuantity() public method

public decreaseQuantity ( integer $decrease )
$decrease integer

getBuyPrice() public method

public getBuyPrice ( ) : WellCommerce\Bundle\AppBundle\Entity\PriceInterface
return WellCommerce\Bundle\AppBundle\Entity\PriceInterface

getOptions() public method

public getOptions ( ) : array
return array

getQuantity() public method

public getQuantity ( ) : integer
return integer

getSellPrice() public method

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

getWeight() public method

public getWeight ( ) : float
return float

increaseQuantity() public method

public increaseQuantity ( integer $increase )
$increase integer

setBuyPrice() public method

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

setOptions() public method

public setOptions ( array $options )
$options array

setQuantity() public method

public setQuantity ( integer $quantity )
$quantity integer

setSellPrice() public method

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

setWeight() public method

public setWeight ( float $weight )
$weight float