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>(); }
public OrderDto() { Condition = PaymentCondition.CreateCondition(); OrderDetailList = new List <OrderDetail>(); }