public SubscriptionAddedConsumer(ISettingsService settingsService, IAccountsClient accountsClient, ILogger <SubscriptionAddedConsumer> logger) { _settingsService = settingsService; _accountsClient = accountsClient; _logger = logger; }
public MarketOrderOperations(IMatchingEngineClient matchingEngineClient, IFeesClient feesClient, IAccountsClient accountsClient, ILogger <MarketOrderOperations> logger) { _matchingEngineClient = matchingEngineClient; _feesClient = feesClient; _accountsClient = accountsClient; _logger = logger; }
public CashOperations(IMatchingEngineClient matchingEngineClient, IFeesClient feesClient, IAccountsClient accountsClient, ILogger <CashOperations> logger) { _matchingEngineClient = matchingEngineClient; _feesClient = feesClient; _logger = logger; _accountsClient = accountsClient; }
public CheckoutApi(CheckoutConfiguration configuration) { var baseApiClient = BaseApiClient(configuration); _tokensClient = new TokensClient(baseApiClient, configuration); _customersClient = new CustomersClient(baseApiClient, configuration); _paymentsClient = new PaymentsClient(baseApiClient, configuration); _instrumentsClient = new InstrumentsClient(baseApiClient, configuration); _disputesClient = new DisputesClient(baseApiClient, configuration); _riskClient = new RiskClient(baseApiClient, configuration); _forexClient = new ForexClient(baseApiClient, configuration); _workflowsClient = new WorkflowsClient(baseApiClient, configuration); _sessionsClient = new SessionsClient(baseApiClient, configuration); _accountsClient = new AccountsClient( baseApiClient, FilesApiClient(configuration), configuration); _paymentLinksClient = new PaymentLinksClient(baseApiClient, configuration); _hostedPaymentsClient = new HostedPaymentsClient(baseApiClient, configuration); _balancesClient = new BalancesClient(BalancesApiClient(configuration), configuration); _transfersClient = new TransfersClient(TransfersApiClient(configuration), configuration); }
public AccountsClientTests(CopperApiFixture apiFixture, ITestOutputHelper output) : base(apiFixture, output) { _accountsClient = ServiceProvider.GetRequiredService <IAccountsClient>(); }