示例#1
0
 public OnlineOrder(Cart cart, PaymentDetails paymentDetails)
     : base(cart)
 {
     _paymentDetails = paymentDetails;
     _paymentProcessor = new PaymentProcessor();
     _reservationService = new ReservationService();
     _notificationService = new NotificationService();
 }
示例#2
0
 protected Order(Cart cart)
 {
     _cart = cart;
 }
示例#3
0
 public PoSCreditOrder(Cart cart, PaymentDetails paymentDetails)
     : base(cart)
 {
     _paymentDetails = paymentDetails;
     _paymentProcessor = new PaymentProcessor();
 }
示例#4
0
 public void NotifyCustomerOrderCreated(Cart cart)
 {
     throw new NotImplementedException();
 }
示例#5
0
 public PoSCashOrder(Cart cart)
     : base(cart)
 {
 }