public MarkupsController( IPayInternalClient payInternalClient, IPayMerchantClient payMerchantClient) { _payInternalClient = payInternalClient; _payMerchantClient = payMerchantClient; }
public ExchangeController( [NotNull] ILogFactory logFactory, [NotNull] IPayInternalClient payInternalClient) { _payInternalClient = payInternalClient ?? throw new ArgumentNullException(nameof(payInternalClient)); _log = logFactory?.CreateLog(this) ?? throw new ArgumentNullException(nameof(logFactory)); }
public MerchantWalletsService( [NotNull] IPayInternalClient payInternalClient, [NotNull] ILogFactory logFactory) { _payInternalClient = payInternalClient ?? throw new ArgumentNullException(nameof(payInternalClient)); _log = logFactory?.CreateLog(this) ?? throw new ArgumentNullException(nameof(logFactory)); }
public PaymentRequestsController( IPayInternalClient payInternalClient, IMapper mapper, IPayMerchantClient payMerchantClient) { _payInternalClient = payInternalClient; _mapper = mapper; _payMerchantClient = payMerchantClient; }
public PaymentRequestService( IPayInternalClient payInternalClient, IPayCallbackClient payCallbackClient, TimeSpan dueDate) { _payInternalClient = payInternalClient ?? throw new ArgumentNullException(nameof(payInternalClient)); _payCallbackClient = payCallbackClient ?? throw new ArgumentNullException(nameof(payCallbackClient)); _dueDate = dueDate; }
public AssetsController( IPayInternalClient payInternalClient, IHeadersHelper headersHelper, ILogFactory logFactory) { _payInternalClient = payInternalClient ?? throw new ArgumentNullException(nameof(payInternalClient)); _headersHelper = headersHelper ?? throw new ArgumentNullException(nameof(headersHelper)); _log = logFactory?.CreateLog(this) ?? throw new ArgumentNullException(nameof(logFactory)); }
public EthereumTransferHandler( [NotNull] ILogFactory logFactory, [NotNull] IPayInternalClient payInternalClient, [NotNull] IAssetsService assetsService) { _payInternalClient = payInternalClient ?? throw new ArgumentNullException(nameof(payInternalClient)); _assetsService = assetsService; _log = logFactory.CreateLog(this); }
public RefundController( IPayInternalClient payInternalClient, ILykkeAssetsResolver lykkeAssetsResolver, ILogFactory logFactory) { _payInternalClient = payInternalClient; _lykkeAssetsResolver = lykkeAssetsResolver; _log = logFactory.CreateLog(this); }
public WalletsStateCacheMaintainer( IMemoryCache cache, IPayInternalClient payInternalClient, ILogFactory logFactory) { _cache = cache ?? throw new ArgumentNullException(nameof(cache)); _payInternalClient = payInternalClient ?? throw new ArgumentNullException(nameof(payInternalClient)); _log = logFactory.CreateLog(this); }
public InvoiceNotificationsService( [NotNull] IEmailService emailService, [NotNull] IInvoiceRepository invoiceRepository, [NotNull] IPayInternalClient payInternalClient) { _emailService = emailService; _invoiceRepository = invoiceRepository; _payInternalClient = payInternalClient; }
public AuthController( IAuthService authService, IPayInternalClient payInternalClient, ILogFactory logFactory) { _authService = authService; _payInternalClient = payInternalClient; _log = logFactory.CreateLog(this); }
public PaymentsService( IPayInternalClient payInternalClient, IPayInvoiceClient payInvoiceClient, ILykkeAssetsResolver lykkeAssetsResolver ) { _payInternalClient = payInternalClient; _payInvoiceClient = payInvoiceClient; _lykkeAssetsResolver = lykkeAssetsResolver; }
public SupervisorsController( IPayInternalClient payInternalClient, IPayInvoiceClient payInvoiceClient, ILogFactory logFactory, IPayMerchantClient payMerchantClient) { _payInvoiceClient = payInvoiceClient; _payMerchantClient = payMerchantClient; _log = logFactory.CreateLog(this); _payInternalClient = payInternalClient; }
public MerchantSettingService( IMerchantSettingRepository merchantSettingRepository, IPayInternalClient payInternalClient, ILogFactory logFactory, IPayMerchantClient payMerchantClient) { _merchantSettingRepository = merchantSettingRepository; _payMerchantClient = payMerchantClient; _payInternalClient = payInternalClient; _log = logFactory.CreateLog(this); }
public TransactionStateCacheMaintainer( [NotNull] IMemoryCache cache, [NotNull] IPayInternalClient payInternalClient, int confirmationsLimit, [NotNull] ILogFactory logFactory) { _cache = cache ?? throw new ArgumentNullException(nameof(cache)); _payInternalClient = payInternalClient ?? throw new ArgumentNullException(nameof(payInternalClient)); _confirmationsLimit = confirmationsLimit; _log = logFactory.CreateLog(this); }
public TransfersController( IPayInternalClient payInternalClient, QBitNinjaClient qBitNinjaClient, LykkePayWalletListSettings walletlist, IPayMerchantClient payMerchantClient) { _payInternalClient = payInternalClient; _qBitNinjaClient = qBitNinjaClient ?? throw new ArgumentNullException(nameof(qBitNinjaClient)); _walletlist = walletlist; _payMerchantClient = payMerchantClient; }
public InvoicesController( IIataService iataService, IMerchantService merchantService, IPayInternalClient payInternalClient, IPayInvoiceClient payInvoiceClient, ILogFactory logFactory) { _iataService = iataService; _merchantService = merchantService; _payInternalClient = payInternalClient; _payInvoiceClient = payInvoiceClient ?? throw new ArgumentNullException(nameof(payInvoiceClient)); _log = logFactory?.CreateLog(this) ?? throw new ArgumentNullException(nameof(logFactory)); }
public TransactionsScanService( ICacheMaintainer <TransactionState> cacheMaintainer, QBitNinjaClient qBitNinjaClient, IDiffService <BcnTransaction> diffService, IPayInternalClient payInternalClient, ILogFactory logFactory) { _cacheMaintainer = cacheMaintainer ?? throw new ArgumentNullException(nameof(cacheMaintainer)); _qBitNinjaClient = qBitNinjaClient ?? throw new ArgumentNullException(nameof(qBitNinjaClient)); _diffService = diffService ?? throw new ArgumentNullException(nameof(diffService)); _payInternalClient = payInternalClient ?? throw new ArgumentNullException(nameof(payInternalClient)); _log = logFactory.CreateLog(this); }
public MerchantsController( [NotNull] IMerchantService merchantService, [NotNull] IIataService iataService, [NotNull] IPayInvoiceClient payInvoiceClient, [NotNull] IPayInternalClient payInternalClient, [NotNull] IPayMerchantClient payMerchantClient) { _merchantService = merchantService ?? throw new ArgumentNullException(nameof(merchantService)); _iataService = iataService ?? throw new ArgumentNullException(nameof(iataService)); _payInvoiceClient = payInvoiceClient ?? throw new ArgumentNullException(nameof(payInvoiceClient)); _payInternalClient = payInternalClient ?? throw new ArgumentNullException(nameof(payInternalClient)); _payMerchantClient = payMerchantClient ?? throw new ArgumentNullException(nameof(payMerchantClient)); }
public AssetService( IPayInternalClient payInternalClient, IPayInvoiceClient payInvoiceClient, ILykkeAssetsResolver lykkeAssetsResolver, IMemoryCache memoryCache, ILogFactory logFactory) { _payInternalClient = payInternalClient; _payInvoiceClient = payInvoiceClient; _lykkeAssetsResolver = lykkeAssetsResolver; _assetsNetworkCache = new OnDemandDataCache <Dictionary <string, BlockchainType> >(memoryCache); _assetBlockchainTypeCache = new OnDemandDataCache <Tuple <BlockchainType> >(memoryCache); _log = logFactory.CreateLog(this); }
public WalletsScanService( ICacheMaintainer <WalletState> cacheMaintainer, QBitNinjaClient qBitNinjaClient, IDiffService <PaymentBcnTransaction> diffService, IPayInternalClient payInternalClient, ILogFactory logFactory, string bitcoinNetwork) { _cacheMaintainer = cacheMaintainer ?? throw new ArgumentNullException(nameof(cacheMaintainer)); _qBitNinjaClient = qBitNinjaClient ?? throw new ArgumentNullException(nameof(qBitNinjaClient)); _diffService = diffService ?? throw new ArgumentNullException(nameof(diffService)); _payInternalClient = payInternalClient ?? throw new ArgumentNullException(nameof(payInternalClient)); _bitcoinNetwork = Network.GetNetwork(bitcoinNetwork); _log = logFactory.CreateLog(this); }
public MerchantsController( IPayInternalClient payInternalClient, IPayAuthClient payAuthClient, IPayInvoiceClient payInvoiceClient, IPayMerchantClient payMerchantClient, ILogFactory logFactory, IPayTransferValidationClient payTransferValidationClient) { _payInternalClient = payInternalClient; _payAuthClient = payAuthClient; _payInvoiceClient = payInvoiceClient; _payMerchantClient = payMerchantClient; _payTransferValidationClient = payTransferValidationClient; _log = logFactory.CreateLog(this); }
public MerchantService( IPayInternalClient payInternalClient, IPayInvoiceClient payInvoiceClient, IMemoryCache memoryCache, MerchantSettings merchantSettings, CacheExpirationPeriodsSettings cacheExpirationPeriods, IPayMerchantClient payMerchantClient) { _payInternalClient = payInternalClient; _payInvoiceClient = payInvoiceClient; _merchantSettings = merchantSettings; _merchantNamesCache = new OnDemandDataCache <string>(memoryCache); _merchantLogoUrlsCache = new OnDemandDataCache <string>(memoryCache); _cacheExpirationPeriods = cacheExpirationPeriods; _payMerchantClient = payMerchantClient; }
public InvoiceService( IMerchantService merchantService, IAssetService assetService, IPayInvoiceClient payInvoiceClient, IPayInternalClient payInternalClient, IRateCalculatorClient rateCalculatorClient, ILykkeAssetsResolver lykkeAssetsResolver, IMemoryCache memoryCache, CacheExpirationPeriodsSettings cacheExpirationPeriods, ILogFactory logFactory, IPayMerchantClient payMerchantClient) { _merchantService = merchantService; _assetService = assetService; _payInvoiceClient = payInvoiceClient; _payInternalClient = payInternalClient; _rateCalculatorClient = rateCalculatorClient; _lykkeAssetsResolver = lykkeAssetsResolver; _cacheExpirationPeriods = cacheExpirationPeriods; _payMerchantClient = payMerchantClient; _ratesCache = new OnDemandDataCache <Tuple <double> >(memoryCache); _employeeFullNameCache = new OnDemandDataCache <string>(memoryCache); _log = logFactory.CreateLog(this); }