Method | Description | |
---|---|---|
addProductToOrder ( WellCommerce\Bundle\ProductBundle\Entity\ProductInterface $product, WellCommerce\Bundle\ProductBundle\Entity\VariantInterface $variant = null, integer $quantity = 1, WellCommerce\Bundle\OrderBundle\Entity\OrderInterface $order ) | ||
changeOrderProductQuantity ( WellCommerce\Bundle\OrderBundle\Entity\OrderProductInterface $orderProduct, WellCommerce\Bundle\OrderBundle\Entity\OrderInterface $order, integer $quantity ) | ||
createOrderProduct ( WellCommerce\Bundle\ProductBundle\Entity\ProductInterface $product, WellCommerce\Bundle\ProductBundle\Entity\VariantInterface $variant = null, WellCommerce\Bundle\OrderBundle\Entity\OrderInterface $order ) : WellCommerce\Bundle\OrderBundle\Entity\OrderProductInterface | ||
deleteOrderProduct ( WellCommerce\Bundle\OrderBundle\Entity\OrderProductInterface $orderProduct, WellCommerce\Bundle\OrderBundle\Entity\OrderInterface $order ) | ||
findProductInOrder ( WellCommerce\Bundle\ProductBundle\Entity\ProductInterface $product, WellCommerce\Bundle\ProductBundle\Entity\VariantInterface $variant = null, WellCommerce\Bundle\OrderBundle\Entity\OrderInterface $order ) |
public addProductToOrder ( WellCommerce\Bundle\ProductBundle\Entity\ProductInterface $product, WellCommerce\Bundle\ProductBundle\Entity\VariantInterface $variant = null, integer $quantity = 1, WellCommerce\Bundle\OrderBundle\Entity\OrderInterface $order ) | ||
$product | WellCommerce\Bundle\ProductBundle\Entity\ProductInterface | |
$variant | WellCommerce\Bundle\ProductBundle\Entity\VariantInterface | |
$quantity | integer | |
$order | WellCommerce\Bundle\OrderBundle\Entity\OrderInterface |
public changeOrderProductQuantity ( WellCommerce\Bundle\OrderBundle\Entity\OrderProductInterface $orderProduct, WellCommerce\Bundle\OrderBundle\Entity\OrderInterface $order, integer $quantity ) | ||
$orderProduct | WellCommerce\Bundle\OrderBundle\Entity\OrderProductInterface | |
$order | WellCommerce\Bundle\OrderBundle\Entity\OrderInterface | |
$quantity | integer |
public createOrderProduct ( WellCommerce\Bundle\ProductBundle\Entity\ProductInterface $product, WellCommerce\Bundle\ProductBundle\Entity\VariantInterface $variant = null, WellCommerce\Bundle\OrderBundle\Entity\OrderInterface $order ) : WellCommerce\Bundle\OrderBundle\Entity\OrderProductInterface | ||
$product | WellCommerce\Bundle\ProductBundle\Entity\ProductInterface | |
$variant | WellCommerce\Bundle\ProductBundle\Entity\VariantInterface | |
$order | WellCommerce\Bundle\OrderBundle\Entity\OrderInterface | |
return | WellCommerce\Bundle\OrderBundle\Entity\OrderProductInterface |
public deleteOrderProduct ( WellCommerce\Bundle\OrderBundle\Entity\OrderProductInterface $orderProduct, WellCommerce\Bundle\OrderBundle\Entity\OrderInterface $order ) | ||
$orderProduct | WellCommerce\Bundle\OrderBundle\Entity\OrderProductInterface | |
$order | WellCommerce\Bundle\OrderBundle\Entity\OrderInterface |
public findProductInOrder ( WellCommerce\Bundle\ProductBundle\Entity\ProductInterface $product, WellCommerce\Bundle\ProductBundle\Entity\VariantInterface $variant = null, WellCommerce\Bundle\OrderBundle\Entity\OrderInterface $order ) | ||
$product | WellCommerce\Bundle\ProductBundle\Entity\ProductInterface | |
$variant | WellCommerce\Bundle\ProductBundle\Entity\VariantInterface | |
$order | WellCommerce\Bundle\OrderBundle\Entity\OrderInterface |