Beispiel #1
0
 public Order(int productsCount)
 {
     this.cardData = new Card();
     this.status = OrderStatus.Pending;
     this.products = new List<Product>();
     for (int i = 0; i < productsCount; i++)
     {
         this.products[i] = new Product();
     }
 }
Beispiel #2
0
 public Order(Card inCard, List<Product> inProducts)
 {
     this.cardData = inCard;
     this.products = inProducts;
     this.status = OrderStatus.Pending;
 }
Beispiel #3
0
 public Order()
 {
     this.cardData = new Card();
     this.status = OrderStatus.Pending;
     this.products = new List<Product>();
 }