Method | Description | |
---|---|---|
__construct ( WellCommerce\Bundle\OrderBundle\Provider\OrderModifierProviderInterface $orderModifierProvider, WellCommerce\Bundle\CurrencyBundle\Helper\CurrencyHelperInterface $currencyHelper ) | CouponOrderVisitor constructor. | |
visitOrder ( WellCommerce\Bundle\OrderBundle\Entity\OrderInterface $order ) |
Method | Description | |
---|---|---|
calculateCouponModifier ( WellCommerce\Bundle\CouponBundle\Entity\CouponInterface $coupon, WellCommerce\Bundle\OrderBundle\Entity\OrderInterface $order ) : float |
public __construct ( WellCommerce\Bundle\OrderBundle\Provider\OrderModifierProviderInterface $orderModifierProvider, WellCommerce\Bundle\CurrencyBundle\Helper\CurrencyHelperInterface $currencyHelper ) | ||
$orderModifierProvider | WellCommerce\Bundle\OrderBundle\Provider\OrderModifierProviderInterface | |
$currencyHelper | WellCommerce\Bundle\CurrencyBundle\Helper\CurrencyHelperInterface |
public visitOrder ( WellCommerce\Bundle\OrderBundle\Entity\OrderInterface $order ) | ||
$order | WellCommerce\Bundle\OrderBundle\Entity\OrderInterface |