Esempio n. 1
0
 public Item(string description, double price, int quantity)
 {
     itemNumber       = NumberManager.GetItemNumber();
     this.Description = description.ToUpper();
     this.Price       = price;
     this.Quantity    = quantity;
 }
Esempio n. 2
0
 public Customer()
 {
     CustomerNumber = NumberManager.GetCustomerNumber();
     CustomerName   = "Unknown";
 }
Esempio n. 3
0
 public Item()
 {
     itemNumber = NumberManager.GetItemNumber();
 }
Esempio n. 4
0
 public Customer(string name)
 {
     CustomerNumber = NumberManager.GetCustomerNumber();
     CustomerName   = name.ToUpper();
 }