コード例 #1
0
 public AssignCartDiscountInfo(ICartDiscountApplicationService cartDiscountApplicationService,
     ICartDiscountCodeService cartDiscountCodeService, IGetValidDiscounts getValidDiscounts)
 {
     _cartDiscountApplicationService = cartDiscountApplicationService;
     _cartDiscountCodeService = cartDiscountCodeService;
     _getValidDiscounts = getValidDiscounts;
 }
コード例 #2
0
 public CartDiscountService(ICartDiscountCodeService cartDiscountCodeService,
     IGetValidDiscounts getValidDiscounts, CartModel cart)
 {
     _cartDiscountCodeService = cartDiscountCodeService;
     _getValidDiscounts = getValidDiscounts;
     _cart = cart;
 }
コード例 #3
0
 public AssignCartDiscountInfo(ICartDiscountApplicationService cartDiscountApplicationService,
                               ICartDiscountCodeService cartDiscountCodeService, IGetValidDiscounts getValidDiscounts)
 {
     _cartDiscountApplicationService = cartDiscountApplicationService;
     _cartDiscountCodeService        = cartDiscountCodeService;
     _getValidDiscounts = getValidDiscounts;
 }
コード例 #4
0
 public CartDiscountService(ICartDiscountCodeService cartDiscountCodeService,
                            IGetValidDiscounts getValidDiscounts, CartModel cart)
 {
     _cartDiscountCodeService = cartDiscountCodeService;
     _getValidDiscounts       = getValidDiscounts;
     _cart = cart;
 }
コード例 #5
0
 public CartDiscountService(ICartDiscountCodeService cartDiscountCodeService,
                            IGetValidDiscounts getValidDiscounts, CartModel cart, Site site)
 {
     _cartDiscountCodeService = cartDiscountCodeService;
     _getValidDiscounts       = getValidDiscounts;
     _cart = cart;
     _site = site;
 }