프로퍼티 | 타입 | 설명 | |
---|---|---|---|
$cartCouponRepository | Elcodi\Component\CartCoupon\Repository\CartCouponRepository | CartCoupon repository |
메소드 | 설명 | |
---|---|---|
__construct ( Elcodi\Component\CartCoupon\Repository\CartCouponRepository $cartCouponRepository ) | Constructor | |
assertJustOneManualCoupon ( Elcodi\Component\CartCoupon\Event\CartCouponOnApplyEvent $event ) | Avoid applying a manual coupon if another is being applied |
메소드 | 설명 | |
---|---|---|
isManual ( Elcodi\Component\Coupon\Entity\Interfaces\CouponInterface $coupon ) : boolean | Check if a coupon has manual enforcement |
public __construct ( Elcodi\Component\CartCoupon\Repository\CartCouponRepository $cartCouponRepository ) | ||
$cartCouponRepository | Elcodi\Component\CartCoupon\Repository\CartCouponRepository | CartCoupon Repository |
public assertJustOneManualCoupon ( Elcodi\Component\CartCoupon\Event\CartCouponOnApplyEvent $event ) | ||
$event | Elcodi\Component\CartCoupon\Event\CartCouponOnApplyEvent |