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

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