public Item(string description, double price, int quantity) { ItemNumber = NumberManager.GetItemNumber(); this.Description = description.ToUpper(); this.Price = price; this.Quantity = quantity; }
public OrderItem(Item item, int purchaseQuantity) { this.OrderItemNumber = NumberManager.GetOrderItemNumber(); this.ItemNumber = item.ItemNumber; this.Description = item.Description; this.UnitPrice = item.Price; this.Quantity = purchaseQuantity; }
public Item() { ItemNumber = NumberManager.GetItemNumber(); }
public Customer() { CustomerNumber = NumberManager.GetCustomerNumber(); CustomerName = "Unknown"; }
public Customer(string name) { CustomerNumber = NumberManager.GetCustomerNumber(); CustomerName = name.ToUpper(); }