Skip to content

Instantly share code, notes, and snippets.

@bjoerntx
Created November 23, 2023 13:55
Show Gist options
  • Save bjoerntx/e858000f56440ef29a4b713ca6d29bb5 to your computer and use it in GitHub Desktop.
Save bjoerntx/e858000f56440ef29a4b713ca6d29bb5 to your computer and use it in GitHub Desktop.
public class Invoice
{
public string InvoiceID { get; set; }
public Customer Customer { get; set; }
public string InvoiceNumber { get; set; }
public string InvoiceDate { get; set; }
public List<LineItem> LineItems { get; set; }
}
public class LineItem
{
public string LineItemID { get; set; }
public string Description { get; set; }
public string Quantity { get; set; }
public string Price { get; set; }
public string Tax { get; set; }
public string Total { get; set; }
}
public class Customer
{
public string CustomerID { get; set; }
public string Name { get; set; }
public string Email { get; set; }
public string Phone { get; set; }
public string Address { get; set; }
public string City { get; set; }
public string State { get; set; }
public string Zip { get; set; }
public string Country { get; set; }
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment