Example #1
0
 private void InitializeObjects(string orderId, string clientId, DateTime dateOrder, float discount)
 {
     OrderId         = orderId;
     ClientId        = clientId;
     Condition       = PaymentCondition.CreateCondition();
     Tracker         = OrderTracker.CreateTracker();
     OrderDate       = dateOrder;
     OrderDiscount   = discount;
     Observation     = string.Empty;
     OrderDetailList = new List <OrderDetail>();
 }
Example #2
0
 public OrderDto()
 {
     Condition       = PaymentCondition.CreateCondition();
     OrderDetailList = new List <OrderDetail>();
 }