Exemplo n.º 1
0
        public SpotOrder(PaymentDetails paymentDetails, Cart _cart)
        {
            this._cart = _cart;

            _paymentDetails = paymentDetails;

            _paymentProcessor = new IPaymentProcessor();
        }
Exemplo n.º 2
0
        public OnlineOrder(PaymentDetails paymentDetails, Cart _cart)
        {
            this._cart = _cart;

            _paymentDetails = paymentDetails;

            _paymentProcessor = new IPaymentProcessor();

            _notificationService = new INotificationservice();

            _reservationService = new IReservationService();
        }