Beispiel #1
0
 public SingleProductPercentDiscount(double percent, List <Product> products)
 {
     Percent = percent;
     Scope.AddRange(products);
 }
Beispiel #2
0
 public BuyOneGetOneFree(List <Product> products)
 {
     Scope.AddRange(products);
 }
Beispiel #3
0
 public MultiProductPercentDiscount(List <Product> products, double percent)
 {
     Scope.AddRange(products);
     Percent = percent;
 }
Beispiel #4
0
 public SingleProductSpecialPrice(double specialPrice, List <Product> products)
 {
     SpecialPrice = specialPrice;
     Scope.AddRange(products);
 }
Beispiel #5
0
 public SingleProductFixedAmountDiscount(double fixedAmount, List <Product> products)
 {
     FixedAmountDiscount = fixedAmount;
     Scope.AddRange(products);
 }
Beispiel #6
0
 public MultiProductFixedAmountDiscount(List <Product> products, double fixedAmount)
 {
     FixedAmountDiscount = fixedAmount;
     Scope.AddRange(products);
 }
Beispiel #7
0
 public MultiProductFixedPrice(List <Product> products, double fixedPrice)
 {
     Scope.AddRange(products);
     FixedPrice = fixedPrice;
 }