Exemple #1
0
        public static DisplayDiscount createDisplayDiscount()
        {
            String          guid     = Guid.NewGuid().ToString();
            DisplayDiscount dispDisc = new DisplayDiscount();

            dispDisc.id = guid;
            return(dispDisc);
        }
Exemple #2
0
 public void removeDisplayDiscount(DisplayDiscount discount)
 {
     this.discounts.removeElement(discount);
 }
Exemple #3
0
 public void removeDiscount(DisplayDiscount discount)
 {
     this.discounts.Remove(discount);
 }
Exemple #4
0
 public void addDisplayDiscount(DisplayDiscount discount)
 {
     this.discounts.addElement(discount);
 }
Exemple #5
0
 public void addDiscount(DisplayDiscount discount)
 {
     this.discounts.Add(discount);
 }