Esempio n. 1
0
        public static FakeOrderForm CreateOrderForm()
        {
            var orderForm = new FakeOrderForm();

            orderForm.Shipments.Add(FakeShipment.CreateShipment());
            orderForm.Payments.Add(FakePayment.CreatePayment());

            return(orderForm);
        }
Esempio n. 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);
        }
Esempio n. 3
0
 public IOrderForm CreateOrderForm(IOrderGroup orderGroup)
 {
     return(FakeOrderForm.CreateEmptyOrderForm());
 }