public function clearAllCoupons(Event $event, $eventName, EventDispatcherInterface $dispatcher)
    {
        // Tell coupons to clear any data they may have stored
        $this->couponManager->clear();

        $this->getSession()->setConsumedCoupons(array());

        $this->updateOrderDiscount($event, $eventName, $dispatcher);
    }
public function clearAllCoupons(Event $event, $eventName, EventDispatcherInterface $dispatcher)
    {
        // Tell coupons to clear any data they may have stored
        $this->couponManager->clear();

        $this->getSession()->setConsumedCoupons(array());

        $this->updateOrderDiscount($event, $eventName, $dispatcher);
    }
public function clearAllCoupons ( Event $ event , $ eventName , EventDispatcherInterface $ dispatcher ) { // Tell coupons to clear any data they may have stored $ this -> couponManager -> clear ( ) ; $ this -> getSession ( ) -> setConsumedCoupons ( array ( ) ) ; $ this -> updateOrderDiscount ( $ event , $ eventName , $ dispatcher ) ; }
Clear all coupons in session.

@param Event $event
@param $eventName
@param EventDispatcherInterface $dispatcher
Clear all coupons in session .