public Invoice(string invoiceNumber, string purchaseOrderNumber, decimal total, DateTime shipDate, DateTime invoiceDate, Customer customer, IEnumerable<LineItem> items) { Total = total; ShipDate = shipDate; InvoiceDate = invoiceDate; InvoiceNumber = invoiceNumber; PurchaseOrderNumber = purchaseOrderNumber; Customer = customer; Items = items; }
public PurchaseOrder(string number, Customer customer, IEnumerable<LineItem> items) { Number = number; Customer = customer; Items = items; }