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
Afficher le fichier Open project: wellcommerce/wellcommerce Interface Usage Examples

Méthodes publiques

Méthode 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 méthode

public decreaseQuantity ( integer $decrease )
$decrease integer

getBuyPrice() public méthode

public getBuyPrice ( ) : WellCommerce\Bundle\AppBundle\Entity\PriceInterface
Résultat WellCommerce\Bundle\AppBundle\Entity\PriceInterface

getOptions() public méthode

public getOptions ( ) : array
Résultat array

getQuantity() public méthode

public getQuantity ( ) : integer
Résultat integer

getSellPrice() public méthode

public getSellPrice ( ) : WellCommerce\Bundle\AppBundle\Entity\PriceInterface
Résultat WellCommerce\Bundle\AppBundle\Entity\PriceInterface

getWeight() public méthode

public getWeight ( ) : float
Résultat float

increaseQuantity() public méthode

public increaseQuantity ( integer $increase )
$increase integer

setBuyPrice() public méthode

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

setOptions() public méthode

public setOptions ( array $options )
$options array

setQuantity() public méthode

public setQuantity ( integer $quantity )
$quantity integer

setSellPrice() public méthode

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

setWeight() public méthode

public setWeight ( float $weight )
$weight float