Exemple #1
0
 public Payment(int ordersCount)
 {
     this.customer = new User();
     this.orders = new List<Order>();
     for (int i = 0; i < ordersCount; i++)
     {
         this.orders[i] = new Order();
     }
 }
Exemple #2
0
 public Payment(User inCustomer, List<Order> inOrders)
 {
     this.customer = inCustomer;
     this.orders = inOrders;
 }
Exemple #3
0
 public Payment()
 {
     this.customer = new User();
     this.orders = new List<Order>();
 }