public static DisplayDiscount createDisplayDiscount() { String guid = Guid.NewGuid().ToString(); DisplayDiscount dispDisc = new DisplayDiscount(); dispDisc.id = guid; return(dispDisc); }
public void removeDisplayDiscount(DisplayDiscount discount) { this.discounts.removeElement(discount); }
public void removeDiscount(DisplayDiscount discount) { this.discounts.Remove(discount); }
public void addDisplayDiscount(DisplayDiscount discount) { this.discounts.addElement(discount); }
public void addDiscount(DisplayDiscount discount) { this.discounts.Add(discount); }