Skip to content

Instantly share code, notes, and snippets.

@fatagun
Created October 4, 2016 16:26
Show Gist options
  • Save fatagun/67acb96964ed130658e257959e2253ec to your computer and use it in GitHub Desktop.
Save fatagun/67acb96964ed130658e257959e2253ec to your computer and use it in GitHub Desktop.
public class Order
{
public int Id { set; get; }
public string Customer { set; get; }
public PaymentDetails PaymentDetails { set; get; }
public List<LineItem> LineItems { set; get; }
}
public class PaymentDetails
{
public string Card { set; get; }
public int CcNumber { set; get; }
public DateTime Expiry { set; get; }
}
public class LineItem
{
public int Id { set; get; }
public int Quantity { set; get; }
public decimal Price { set; get; }
public decimal Total { set; get; }
}
}
@lonif
Copy link

lonif commented Jun 16, 2017

hi how are you

@fatagun
Copy link
Author

fatagun commented Oct 19, 2020

Hello

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment