Exemplo n.º 1
0
 public ReliantDiscount(double percentage, String duration, int amount) : base(percentage, duration)
 {
     this.totalAmount = amount;
     this.type        = reliantType.totalAmount;
 }
Exemplo n.º 2
0
 public ReliantDiscount(int id, bool isPartOfComplex, double percentage, String duration, int amount, int storeId) : base(id, isPartOfComplex, percentage, duration, storeId)
 {
     this.totalAmount = amount;
     this.type        = reliantType.totalAmount;
 }
Exemplo n.º 3
0
 public ReliantDiscount(double percentage, String duration, int numOfProducts, Product product) : base(percentage, duration)
 {
     this.numOfProducts = numOfProducts;
     this.type          = reliantType.sameProduct;
     this.product       = product;
 }
Exemplo n.º 4
0
 public ReliantDiscount(int id, bool isPartOfComplex, double percentage, String duration, int numOfProducts, Product product, int storeId) : base(id, isPartOfComplex, percentage, duration, storeId)
 {
     this.numOfProducts = numOfProducts;
     this.type          = reliantType.sameProduct;
     this.product       = product;
 }