PHP Class Sylius\Bundle\CoreBundle\Doctrine\ORM\OrderRepository

Inheritance: extends Sylius\Bundle\CartBundle\Doctrine\ORM\CartRepository, implements Sylius\Component\Core\Repository\OrderRepositoryInterface
Mostrar archivo Open project: sylius/sylius

Public Methods

Method Description
countByChannel ( Sylius\Component\Core\Model\ChannelInterface $channel ) {@inheritDoc}
countByCustomer ( Sylius\Component\Core\Model\CustomerInterface $customer )
countByCustomerAndCoupon ( Sylius\Component\Core\Model\CustomerInterface $customer, Sylius\Component\Core\Model\PromotionCouponInterface $coupon )
createByCustomerIdQueryBuilder ( $customerId )
createListQueryBuilder ( )
findByCustomer ( Sylius\Component\Core\Model\CustomerInterface $customer )
findCartByChannel ( $id, Sylius\Component\Core\Model\ChannelInterface $channel )
findLatestCartByChannelAndCustomer ( Sylius\Component\Core\Model\ChannelInterface $channel, Sylius\Component\Core\Model\CustomerInterface $customer )
findLatestInChannel ( $count, Sylius\Component\Core\Model\ChannelInterface $channel )
findOneByNumberAndCustomer ( $number, Sylius\Component\Core\Model\CustomerInterface $customer )
findOneForPayment ( $id )
getTotalSalesForChannel ( Sylius\Component\Core\Model\ChannelInterface $channel ) {@inheritDoc}

Method Details

countByChannel() public method

{@inheritDoc}
public countByChannel ( Sylius\Component\Core\Model\ChannelInterface $channel )
$channel Sylius\Component\Core\Model\ChannelInterface

countByCustomer() public method

public countByCustomer ( Sylius\Component\Core\Model\CustomerInterface $customer )
$customer Sylius\Component\Core\Model\CustomerInterface

countByCustomerAndCoupon() public method

public countByCustomerAndCoupon ( Sylius\Component\Core\Model\CustomerInterface $customer, Sylius\Component\Core\Model\PromotionCouponInterface $coupon )
$customer Sylius\Component\Core\Model\CustomerInterface
$coupon Sylius\Component\Core\Model\PromotionCouponInterface

createByCustomerIdQueryBuilder() public method

public createByCustomerIdQueryBuilder ( $customerId )

createListQueryBuilder() public method

findByCustomer() public method

public findByCustomer ( Sylius\Component\Core\Model\CustomerInterface $customer )
$customer Sylius\Component\Core\Model\CustomerInterface

findCartByChannel() public method

public findCartByChannel ( $id, Sylius\Component\Core\Model\ChannelInterface $channel )
$channel Sylius\Component\Core\Model\ChannelInterface

findLatestCartByChannelAndCustomer() public method

public findLatestCartByChannelAndCustomer ( Sylius\Component\Core\Model\ChannelInterface $channel, Sylius\Component\Core\Model\CustomerInterface $customer )
$channel Sylius\Component\Core\Model\ChannelInterface
$customer Sylius\Component\Core\Model\CustomerInterface

findLatestInChannel() public method

public findLatestInChannel ( $count, Sylius\Component\Core\Model\ChannelInterface $channel )
$channel Sylius\Component\Core\Model\ChannelInterface

findOneByNumberAndCustomer() public method

public findOneByNumberAndCustomer ( $number, Sylius\Component\Core\Model\CustomerInterface $customer )
$customer Sylius\Component\Core\Model\CustomerInterface

findOneForPayment() public method

public findOneForPayment ( $id )

getTotalSalesForChannel() public method

{@inheritDoc}
public getTotalSalesForChannel ( Sylius\Component\Core\Model\ChannelInterface $channel )
$channel Sylius\Component\Core\Model\ChannelInterface