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

Méthodes publiques

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

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

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

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
Résultat WellCommerce\Bundle\OrderBundle\Entity\OrderInterface