PHP Класс WellCommerce\Bundle\OrderBundle\Manager\OrderManager

Автор: Adam Piotrowski ([email protected])
Наследование: extends WellCommerce\Bundle\DoctrineBundle\Manager\Manager, implements WellCommerce\Bundle\OrderBundle\Manager\OrderManagerInterface
Показать файл Открыть проект

Открытые методы

Метод Описание
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

Приватные методы

Метод Описание
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

Описание методов

findOrder() публичный Метод

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 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
Результат WellCommerce\Bundle\OrderBundle\Entity\OrderInterface