public Order(Customer customer, Item item, int quantity) { Customer = customer; Item = item; Quantity = quantity; }
public void AddItem(Item item) { if (!_items.Contains(item)) { _items.Add(item); } }