Ejemplo n.º 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();
     }
 }
Ejemplo n.º 2
0
 public Order(Card inCard, List<Product> inProducts)
 {
     this.cardData = inCard;
     this.products = inProducts;
     this.status = OrderStatus.Pending;
 }
Ejemplo n.º 3
0
 public Order()
 {
     this.cardData = new Card();
     this.status = OrderStatus.Pending;
     this.products = new List<Product>();
 }