PHP Class WellCommerce\Bundle\OrderBundle\Entity\OrderProduct

Author: Adam Piotrowski ([email protected])
Inheritance: extends WellCommerce\Bundle\DoctrineBundle\Entity\AbstractEntity, implements WellCommerce\Bundle\OrderBundle\Entity\OrderProductInterface, use trait WellCommerce\Bundle\DoctrineBundle\Behaviours\Timestampable\TimestampableTrait, use trait WellCommerce\Bundle\ProductBundle\Entity\ProductAwareTrait, use trait WellCommerce\Bundle\ProductBundle\Entity\VariantAwareTrait, use trait OrderAwareTrait
Afficher le fichier Open project: wellcommerce/wellcommerce Class Usage Examples

Protected Properties

Свойство Type Description
$buyPrice
$options
$quantity
$sellPrice
$weight

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

Property Details

$buyPrice protected_oe property

protected $buyPrice

$options protected_oe property

protected $options

$quantity protected_oe property

protected $quantity

$sellPrice protected_oe property

protected $sellPrice

$weight protected_oe property

protected $weight