public AssignCartDiscountInfo(ICartDiscountApplicationService cartDiscountApplicationService, ICartDiscountCodeService cartDiscountCodeService, IGetValidDiscounts getValidDiscounts) { _cartDiscountApplicationService = cartDiscountApplicationService; _cartDiscountCodeService = cartDiscountCodeService; _getValidDiscounts = getValidDiscounts; }
public CartDiscountService(ICartDiscountCodeService cartDiscountCodeService, IGetValidDiscounts getValidDiscounts, CartModel cart) { _cartDiscountCodeService = cartDiscountCodeService; _getValidDiscounts = getValidDiscounts; _cart = cart; }
public CartDiscountService(ICartDiscountCodeService cartDiscountCodeService, IGetValidDiscounts getValidDiscounts, CartModel cart, Site site) { _cartDiscountCodeService = cartDiscountCodeService; _getValidDiscounts = getValidDiscounts; _cart = cart; _site = site; }