PHP Class WellCommerce\Bundle\OrderBundle\Manager\OrderManager

Author: Adam Piotrowski ([email protected])
Inheritance: extends WellCommerce\Bundle\DoctrineBundle\Manager\Manager, implements WellCommerce\Bundle\OrderBundle\Manager\OrderManagerInterface
显示文件 Open project: wellcommerce/wellcommerce

Public Methods

Method Description
findOrder ( string $sessionId, WellCommerce\Bundle\ClientBundle\Entity\ClientInterface $client = null, WellCommerce\Bundle\ShopBundle\Entity\ShopInterface $shop )
getOrder ( string $sessionId, WellCommerce\Bundle\ClientBundle\Entity\ClientInterface $client = null, WellCommerce\Bundle\ShopBundle\Entity\ShopInterface $shop, string $currency ) : WellCommerce\Bundle\OrderBundle\Entity\OrderInterface

Private Methods

Method Description
getCurrentClientOrder ( WellCommerce\Bundle\ClientBundle\Entity\ClientInterface $client, WellCommerce\Bundle\ShopBundle\Entity\ShopInterface $shop )
getCurrentSessionOrder ( $sessionId, WellCommerce\Bundle\ShopBundle\Entity\ShopInterface $shop )
isOrderDirty ( WellCommerce\Bundle\OrderBundle\Entity\OrderInterface $order, string $currency, WellCommerce\Bundle\ClientBundle\Entity\ClientInterface $client = null, string $sessionId ) : boolean

Method Details

findOrder() public method

public findOrder ( string $sessionId, WellCommerce\Bundle\ClientBundle\Entity\ClientInterface $client = null, WellCommerce\Bundle\ShopBundle\Entity\ShopInterface $shop )
$sessionId string
$client WellCommerce\Bundle\ClientBundle\Entity\ClientInterface
$shop WellCommerce\Bundle\ShopBundle\Entity\ShopInterface

getOrder() public method

public getOrder ( string $sessionId, WellCommerce\Bundle\ClientBundle\Entity\ClientInterface $client = null, WellCommerce\Bundle\ShopBundle\Entity\ShopInterface $shop, string $currency ) : WellCommerce\Bundle\OrderBundle\Entity\OrderInterface
$sessionId string
$client WellCommerce\Bundle\ClientBundle\Entity\ClientInterface
$shop WellCommerce\Bundle\ShopBundle\Entity\ShopInterface
$currency string
return WellCommerce\Bundle\OrderBundle\Entity\OrderInterface