public AdyenPaymentMethodService(ILoggingService loggingService, AdyenPageBuilder pageBuilder, IHttpPaymentExtractor httpExtractor, IAbsoluteUrlService absoluteUrlService) { _absoluteUrlService = absoluteUrlService; LoggingService = loggingService; PageBuilder = pageBuilder; HttpPaymentExtractor = httpExtractor; ResultValidator = new PaymentResultValidator(loggingService); }
public GlobalCollectPaymentMethodService( ILoggingService loggingService, IGlobalCollectService globalCollectService, IHttpPaymentExtractor paymentExtractor, IRepository <PaymentStatus> paymentStatusRepository, IAbsoluteUrlService absoluteUrlService, IOrderService orderService) { _loggingService = loggingService; _globalCollectService = globalCollectService; _paymentExtractor = paymentExtractor; _paymentStatusRepository = paymentStatusRepository; _absoluteUrlService = absoluteUrlService; _orderService = orderService; }
public SecureTradingPaymentMethodService( ILoggingService loggingService, IRepository <OrderStatus> orderStatusRepository, IRepository <PaymentStatus> paymentStatusRepository, IOrderService orderService, SecureTradingPageBuilder pageBuilder, IHttpPaymentExtractor httpExtractor, SecureTradingXmlRequester secureTradingXmlRequester, int numberOfRetriesForTransactionQuery, int secondsToWaitOnRetryForQuery, IAbsoluteUrlService absoluteUrlService) { _loggingService = loggingService; _orderStatusRepository = orderStatusRepository; _paymentStatusRepository = paymentStatusRepository; _orderService = orderService; _pageBuilder = pageBuilder; _httpPaymentExtractor = httpExtractor; _secureTradingXmlRequester = secureTradingXmlRequester; _numberOfRetriesForTransactionQuery = numberOfRetriesForTransactionQuery; _secondsToWaitOnRetryForQuery = secondsToWaitOnRetryForQuery; _absoluteUrlService = absoluteUrlService; }