public FailBatchCommandsHandler( IChaosKitty chaosKitty, ICashoutsBatchRepository cashoutsBatchRepository) { _chaosKitty = chaosKitty; _cashoutsBatchRepository = cashoutsBatchRepository; }
public RevokeActiveBatchIdCommandsHandler( IChaosKitty chaosKitty, IActiveCashoutsBatchIdRepository activeCashoutsBatchIdRepository, ICashoutsBatchRepository cashoutsBatchRepository) { _chaosKitty = chaosKitty; _activeCashoutsBatchIdRepository = activeCashoutsBatchIdRepository; _cashoutsBatchRepository = cashoutsBatchRepository; }
public WaitForBatchExpirationCommandsHandler( IChaosKitty chaosKitty, TimeSpan batchExpirationMonitoringPeriod, ICashoutsBatchRepository cashoutsBatchRepository) { _chaosKitty = chaosKitty; _batchExpirationMonitoringPeriod = batchExpirationMonitoringPeriod; _cashoutsBatchRepository = cashoutsBatchRepository; }
public CloseBatchCommandsHandler( IChaosKitty chaosKitty, ICashoutsBatchRepository cashoutsBatchRepository, IClosedBatchedCashoutRepository closedBatchedCashoutRepository) { _chaosKitty = chaosKitty; _cashoutsBatchRepository = cashoutsBatchRepository; _closedBatchedCashoutRepository = closedBatchedCashoutRepository; }
public AcceptCashoutCommandsHandler( IChaosKitty chaosKitty, ICashoutsBatchRepository cashoutsBatchRepository, IClosedBatchedCashoutRepository closedBatchedCashoutRepository, IActiveCashoutsBatchIdRepository activeCashoutsBatchIdRepository, IBlockchainConfigurationsProvider blockchainConfigurationProvider, IBlockchainWalletsClient walletsClient, CqrsSettings cqrsSettings, bool disableDirectCrossClientCashouts) { _chaosKitty = chaosKitty; _cashoutsBatchRepository = cashoutsBatchRepository; _closedBatchedCashoutRepository = closedBatchedCashoutRepository; _activeCashoutsBatchIdRepository = activeCashoutsBatchIdRepository; _blockchainConfigurationProvider = blockchainConfigurationProvider ?? throw new ArgumentNullException(nameof(blockchainConfigurationProvider)); _walletsClient = walletsClient ?? throw new ArgumentNullException(nameof(walletsClient)); _cqrsSettings = cqrsSettings; _disableDirectCrossClientCashouts = disableDirectCrossClientCashouts; }