Esempio n. 1
0
 public AdministratorBookingManagementService(IBookingRecordManager recordManager,
                                              ISupplierBookingManagementService managementService,
                                              IDateTimeProvider dateTimeProvider,
                                              IBookingRecordsUpdater recordsUpdater)
 {
     _recordManager     = recordManager;
     _managementService = managementService;
     _dateTimeProvider  = dateTimeProvider;
     _recordsUpdater    = recordsUpdater;
 }
 public SupplierBookingManagementService(IBookingRecordsUpdater bookingRecordsUpdater,
                                         ILogger <SupplierBookingManagementService> logger,
                                         ISupplierConnectorManager supplierConnectorFactory,
                                         IDateTimeProvider dateTimeProvider,
                                         IBookingResponseProcessor responseProcessor)
 {
     _bookingRecordsUpdater = bookingRecordsUpdater;
     _logger = logger;
     _supplierConnectorManager = supplierConnectorFactory;
     _dateTimeProvider         = dateTimeProvider;
     _responseProcessor        = responseProcessor;
 }
 public BookingResponseProcessor(IBookingAuditLogService bookingAuditLogService,
                                 IBookingRecordManager bookingRecordManager,
                                 ILogger <BookingResponseProcessor> logger,
                                 IDateTimeProvider dateTimeProvider,
                                 EdoContext context,
                                 IBookingRecordsUpdater recordsUpdater)
 {
     _bookingAuditLogService = bookingAuditLogService;
     _bookingRecordManager   = bookingRecordManager;
     _logger           = logger;
     _dateTimeProvider = dateTimeProvider;
     _context          = context;
     _recordsUpdater   = recordsUpdater;
 }
Esempio n. 4
0
 public BookingConfirmationService(EdoContext context, IBookingRecordManager bookingRecordManager,
                                   IBookingRecordsUpdater recordsUpdater, IPropertyOwnerConfirmationUrlGenerator urlGenerationService, INotificationService notificationService,
                                   IOptions <PropertyOwnerMailingOptions> options, IAccommodationMapperClient client, ILogger <BookingConfirmationService> logger,
                                   IHostEnvironment hostingEnvironment)
 {
     _context = context;
     _bookingRecordManager = bookingRecordManager;
     _recordsUpdater       = recordsUpdater;
     _urlGenerationService = urlGenerationService;
     _notificationService  = notificationService;
     _options            = options.Value;
     _client             = client;
     _logger             = logger;
     _hostingEnvironment = hostingEnvironment;
 }
Esempio n. 5
0
 public BookingsProcessingService(IBookingAccountPaymentService accountPaymentService,
                                  IBookingCreditCardPaymentService creditCardPaymentService,
                                  ISupplierBookingManagementService supplierBookingManagementService,
                                  IBookingNotificationService bookingNotificationService,
                                  IBookingReportsService reportsService,
                                  EdoContext context,
                                  IBookingRecordsUpdater bookingRecordsUpdater,
                                  IDateTimeProvider dateTimeProvider)
 {
     _accountPaymentService            = accountPaymentService;
     _creditCardPaymentService         = creditCardPaymentService;
     _supplierBookingManagementService = supplierBookingManagementService;
     _bookingNotificationService       = bookingNotificationService;
     _reportsService        = reportsService;
     _context               = context;
     _bookingRecordsUpdater = bookingRecordsUpdater;
     _dateTimeProvider      = dateTimeProvider;
 }
Esempio n. 6
0
 public BookingRequestExecutor(ISupplierConnectorManager supplierConnectorManager,
                               IBookingResponseProcessor responseProcessor,
                               IBookingAnalyticsService bookingAnalyticsService,
                               IBookingRecordsUpdater bookingRecordsUpdater,
                               IDateTimeProvider dateTimeProvider,
                               IBookingRequestStorage requestStorage,
                               ICreditCardProvider creditCardProvider,
                               ILogger <BookingRequestExecutor> logger)
 {
     _supplierConnectorManager = supplierConnectorManager;
     _responseProcessor        = responseProcessor;
     _bookingAnalyticsService  = bookingAnalyticsService;
     _bookingRecordsUpdater    = bookingRecordsUpdater;
     _dateTimeProvider         = dateTimeProvider;
     _requestStorage           = requestStorage;
     _creditCardProvider       = creditCardProvider;
     _logger = logger;
 }