コード例 #1
0
 public Link4PayServiceImpl(
     Link4PaySettings link4PaySettings,
     IPaymentTransactionsRepository paymentTransactionsRepository,
     IPaymentTransactionEventsLog paymentTransactionEventsLog,
     IRawLogRepository rawLogRepository,
     ILink4PayApiService link4PayApiService,
     IFeeCalculatorClient feeCalculatorClient,
     IReadOnlyList <string> supportedCountries,
     IReadOnlyList <string> supportedCurrencies,
     ILogFactory logFactory
     )
 {
     _link4PaySettings = link4PaySettings;
     _paymentTransactionsRepository = paymentTransactionsRepository;
     _paymentTransactionEventsLog   = paymentTransactionEventsLog;
     _rawLogRepository    = rawLogRepository;
     _link4PayApiService  = link4PayApiService;
     _feeCalculatorClient = feeCalculatorClient;
     _supportedCountries  = supportedCountries;
     _supportedCurrencies = supportedCurrencies;
     _log        = logFactory.CreateLog(this);
     _successUrl = $"{_link4PaySettings.ExternalUrl}/ok";
     _failUrl    = $"{_link4PaySettings.ExternalUrl}/fail";
     _cancelUrl  = $"{_link4PaySettings.ExternalUrl}/cancel";
 }
コード例 #2
0
 public CallbacksController(
     IRawLogRepository rawLogRepository,
     ILogFactory logFactory
     )
 {
     _rawLogRepository = rawLogRepository;
     _log = logFactory.CreateLog(this);
 }
コード例 #3
0
 public WebhookController(
     IEncryptionService encryptionService,
     IRawLogRepository rawLogRepository,
     ICqrsEngine cqrsEngine,
     ILogFactory logFactory
     )
 {
     _encryptionService = encryptionService;
     _rawLogRepository  = rawLogRepository;
     _cqrsEngine        = cqrsEngine;
     _log = logFactory.CreateLog(this);
 }
コード例 #4
0
 public RawLogService(IRawLogRepository rawLogRepository)
 {
     _rawLogRepository = rawLogRepository;
 }