public AssignCartDiscountInfo(ICartDiscountApplicationService cartDiscountApplicationService,
     ICartDiscountCodeService cartDiscountCodeService, IGetValidDiscounts getValidDiscounts)
 {
     _cartDiscountApplicationService = cartDiscountApplicationService;
     _cartDiscountCodeService = cartDiscountCodeService;
     _getValidDiscounts = getValidDiscounts;
 }
Example #2
0
 public CartDiscountService(ICartDiscountCodeService cartDiscountCodeService,
     IGetValidDiscounts getValidDiscounts, CartModel cart)
 {
     _cartDiscountCodeService = cartDiscountCodeService;
     _getValidDiscounts = getValidDiscounts;
     _cart = cart;
 }