Exemplo n.º 1
0
        public MakePaymentState(ProcessBooking bookingProc) : base(bookingProc.Booking)
        {
            this.bookingProc = bookingProc;
            SupplierFactory factory = new SupplierFactory();

            supplier = factory.GetSupplier(bookingProc.Booking);
        }
Exemplo n.º 2
0
        public FinalliseBookingState(ProcessBooking bookingProc) : base(bookingProc.Booking)
        {
            this.bookingProc = bookingProc;
            SupplierFactory factory = new SupplierFactory();

            supplier = factory.GetSupplier(bookingProc.Booking);
        }
Exemplo n.º 3
0
        public PreAuthorisationState(ProcessBooking bookingProc) : base(bookingProc.Booking)
        {
            this.bookingProc = bookingProc;
            SupplierFactory factory = new SupplierFactory();

            supplier = factory.GetSupplier(bookingProc.Booking);
        }