Esempio n. 1
0
 public BookingRegistrationService(IAccommodationBookingSettingsService accommodationBookingSettingsService,
                                   IBookingRecordsManager bookingRecordsManager,
                                   IBookingDocumentsService documentsService,
                                   IPaymentNotificationService notificationService,
                                   IBookingMailingService bookingMailingService,
                                   IDateTimeProvider dateTimeProvider,
                                   IAccountPaymentService accountPaymentService,
                                   ISupplierConnectorManager supplierConnectorManager,
                                   IBookingPaymentService paymentService,
                                   IBookingEvaluationStorage bookingEvaluationStorage,
                                   EdoContext context,
                                   IBookingResponseProcessor bookingResponseProcessor,
                                   IBookingPaymentService bookingPaymentService,
                                   ILogger <BookingRegistrationService> logger)
 {
     _accommodationBookingSettingsService = accommodationBookingSettingsService;
     _bookingRecordsManager    = bookingRecordsManager;
     _documentsService         = documentsService;
     _notificationService      = notificationService;
     _bookingMailingService    = bookingMailingService;
     _dateTimeProvider         = dateTimeProvider;
     _accountPaymentService    = accountPaymentService;
     _supplierConnectorManager = supplierConnectorManager;
     _paymentService           = paymentService;
     _bookingEvaluationStorage = bookingEvaluationStorage;
     _context = context;
     _bookingResponseProcessor = bookingResponseProcessor;
     _bookingPaymentService    = bookingPaymentService;
     _logger = logger;
 }
Esempio n. 2
0
 public PaymentsController(IBookingPaymentService bookingPaymentService,
                           IAdministratorContext administratorContext, ICounterpartyAccountService counterpartyAccountService, IAgencyAccountService agencyAccountService,
                           ICreditCardPaymentConfirmationService creditCardPaymentConfirmationService)
 {
     _bookingPaymentService                = bookingPaymentService;
     _administratorContext                 = administratorContext;
     _counterpartyAccountService           = counterpartyAccountService;
     _agencyAccountService                 = agencyAccountService;
     _creditCardPaymentConfirmationService = creditCardPaymentConfirmationService;
 }
Esempio n. 3
0
 public PaymentsController(IAccountPaymentService accountPaymentService,
                           IBookingPaymentService bookingPaymentService, IPaymentSettingsService paymentSettingsService,
                           IAgentContextService agentContextService, ICreditCardPaymentProcessingService creditCardPaymentProcessingService)
 {
     _accountPaymentService              = accountPaymentService;
     _bookingPaymentService              = bookingPaymentService;
     _paymentSettingsService             = paymentSettingsService;
     _agentContextService                = agentContextService;
     _creditCardPaymentProcessingService = creditCardPaymentProcessingService;
 }
Esempio n. 4
0
 public BookingsProcessingService(IBookingPaymentService bookingPaymentService,
                                  IBookingManagementService bookingManagementService,
                                  IBookingMailingService bookingMailingService,
                                  EdoContext context)
 {
     _bookingPaymentService    = bookingPaymentService;
     _bookingManagementService = bookingManagementService;
     _bookingMailingService    = bookingMailingService;
     _context = context;
 }
Esempio n. 5
0
        private BookingsProcessingService CreateProcessingService(IBookingPaymentService bookingPaymentService)
        {
            var context = MockEdoContextFactory.Create();

            context.Setup(c => c.Bookings)
            .Returns(DbSetMockProvider.GetDbSetMock(Bookings));

            var service = new BookingsProcessingService(bookingPaymentService,
                                                        Mock.Of <IBookingManagementService>(),
                                                        Mock.Of <IBookingMailingService>(),
                                                        context.Object);

            return(service);
        }
 public PaymentCallbackDispatcher(ICreditCardPaymentProcessingService creditCardPaymentProcessingService,
                                  IPayfortResponseParser responseParser,
                                  IBookingPaymentService bookingPaymentService,
                                  IPaymentLinksProcessingService linksProcessingService,
                                  ITagProcessor tagProcessor,
                                  EdoContext context)
 {
     _creditCardPaymentProcessingService = creditCardPaymentProcessingService;
     _responseParser         = responseParser;
     _bookingPaymentService  = bookingPaymentService;
     _linksProcessingService = linksProcessingService;
     _tagProcessor           = tagProcessor;
     _context = context;
 }
Esempio n. 7
0
 public BookingChangesProcessor(ISupplierOrderService supplierOrderService,
                                IBookingRecordsManager bookingRecordsManager,
                                IBookingPaymentService paymentService,
                                IBookingMailingService bookingMailingService,
                                ILogger <BookingChangesProcessor> logger,
                                IDateTimeProvider dateTimeProvider,
                                EdoContext context)
 {
     _supplierOrderService  = supplierOrderService;
     _bookingRecordsManager = bookingRecordsManager;
     _paymentService        = paymentService;
     _bookingMailingService = bookingMailingService;
     _logger           = logger;
     _dateTimeProvider = dateTimeProvider;
     _context          = context;
 }