Exemple #1
0
        public static FakePurchaseOrder CreateEmptyPurchaseOrder()
        {
            var purchaseOrder = new FakePurchaseOrder();

            purchaseOrder.Forms.Add(new FakeOrderForm());

            return(purchaseOrder);
        }
Exemple #2
0
        public static FakePurchaseOrder CreatePurchaseOrder()
        {
            var purchaseOrder = new FakePurchaseOrder
            {
                Currency    = new Currency(Currency.USD),
                OrderNumber = "PO0813",
                CustomerId  = Guid.Parse("8b7d0a30-0e10-46d8-badf-259e9fb1541a"),
                Market      = new MarketImpl(MarketId.Default),
                Name        = "Default",
                OrderStatus = OrderStatus.InProgress,
            };

            purchaseOrder.Forms.Add(FakeOrderForm.CreateOrderForm());

            return(purchaseOrder);
        }