public function validateCoupon(CartCouponOnApplyEvent $event)
    {
        $this
            ->cartCouponDispatcher
            ->dispatchCartCouponOnCheckEvent(
                $event->getCart(),
                $event->getCoupon()
            );
    }
public function validateCoupon(CartCouponOnApplyEvent $event)
    {
        $this
            ->cartCouponDispatcher
            ->dispatchCartCouponOnCheckEvent(
                $event->getCart(),
                $event->getCoupon()
            );
    }
public function validateCoupon ( CartCouponOnApplyEvent $ event ) { $ this -> cartCouponDispatcher -> dispatchCartCouponOnCheckEvent ( $ event -> getCart ( ) , $ event -> getCoupon ( ) ) ; }
Checks if a Coupon is applicable to a Cart.

@param CartCouponOnApplyEvent $event Event
Checks if a Coupon is applicable to a Cart .