Пример #1
0
 public void applyCoupon(Coupon coupon)
 {
     this.coupon = coupon;
 }
Пример #2
0
 public ShoppingCart()
 {
     items     = new List <ShoppingCartItem>();
     campaigns = new List <Campaign>();
     coupon    = new Coupon(0, 0, DiscountType.Amount);
 }