PHP 인터페이스 WellCommerce\Bundle\OrderBundle\Manager\OrderProductManagerInterface

저자: Adam Piotrowski ([email protected])
상속: extends WellCommerce\Bundle\DoctrineBundle\Manager\ManagerInterface
파일 보기 프로젝트 열기: wellcommerce/wellcommerce

공개 메소드들

메소드 설명
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 )

메소드 상세

addProductToOrder() 공개 메소드

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

changeOrderProductQuantity() 공개 메소드

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

createOrderProduct() 공개 메소드

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
리턴 WellCommerce\Bundle\OrderBundle\Entity\OrderProductInterface

deleteOrderProduct() 공개 메소드

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

findProductInOrder() 공개 메소드

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