Beispiel #1
0
 public OrderController(PayApiSettings payApiSettings, HttpClient client, ILykkePayServiceStoreRequestMicroService storeRequestClient, IBitcoinApi bitcointApiClient,
                        ILykkePayServiceGenerateAddressMicroService generateAddressClient, IPayWalletservice payWalletservice, ILog log)
     : base(payApiSettings, client, generateAddressClient, storeRequestClient, bitcointApiClient, payWalletservice, log)
 {
     _gaService          = generateAddressClient;
     _storeRequestClient = storeRequestClient;
 }
Beispiel #2
0
 public BaseTransactionController(PayApiSettings payApiSettings, HttpClient client,
                                  ILykkePayServiceGenerateAddressMicroService gnerateAddressClient,
                                  ILykkePayServiceStoreRequestMicroService storeRequestClient,
                                  IBitcoinApi bitcointApiClient, IPayWalletservice payWalletservice,
                                  ILog log)
     : base(payApiSettings, client, log)
 {
     GnerateAddressClient = gnerateAddressClient;
     StoreRequestClient   = storeRequestClient;
     BitcointApiClient    = bitcointApiClient;
     _payWalletservice    = payWalletservice;
 }
Beispiel #3
0
 public PurchaseController(
     PayApiSettings payApiSettings,
     HttpClient client,
     ILykkePayServiceStoreRequestMicroService storeRequestClient,
     IBitcoinApi bitcointApiClient,
     ILykkePayServiceGenerateAddressMicroService generateAddressClient,
     IExchangeOperationsServiceClient exchangeOperationClient,
     IPayWalletservice payWalletservice,
     ILog log)
     : base(payApiSettings, client, generateAddressClient, storeRequestClient, bitcointApiClient, payWalletservice, log)
 {
     _exchangeOperationClient = exchangeOperationClient;
 }
 public ProcessRequest(AppSettings.ProcessRequestSettings settings, ILog log, ILykkePayServiceStoreRequestMicroService storeClient,
                       IBitcoinAggRepository bitcoinRepo, IMerchantPayRequestRepository merchantPayRequestRepository, IBitcoinApi bitcoinApi,
                       IMerchantOrderRequestRepository merchantOrderRequestRepository, ILykkePayServiceGenerateAddressMicroService generateAddressMicroService,
                       IBitcoinAggRepository bitcoinAggRepository, RPCClient rpcClient, NinjaServiceClient ninjaSettings)
 {
     _log         = log;
     _storeClient = storeClient;
     _settings    = settings;
     _bitcoinRepo = bitcoinRepo;
     _merchantPayRequestRepository = merchantPayRequestRepository;
     _bitcoinApi = bitcoinApi;
     _merchantOrderRequestRepository = merchantOrderRequestRepository;
     _generateAddressMicroService    = generateAddressMicroService;
     _bitcoinAggRepository           = bitcoinAggRepository;
     _rpcClient     = rpcClient;
     _ninjaSettings = ninjaSettings;
 }
 /// <param name='operations'>
 /// The operations group for this extension method.
 /// </param>
 /// <param name='cancellationToken'>
 /// The cancellation token.
 /// </param>
 public static async Task ApiStoreOrderGetAsync(this ILykkePayServiceStoreRequestMicroService operations, CancellationToken cancellationToken = default(CancellationToken))
 {
     (await operations.ApiStoreOrderGetWithHttpMessagesAsync(null, cancellationToken).ConfigureAwait(false)).Dispose();
 }
 /// <param name='operations'>
 /// The operations group for this extension method.
 /// </param>
 public static void ApiStoreOrderGet(this ILykkePayServiceStoreRequestMicroService operations)
 {
     operations.ApiStoreOrderGetAsync().GetAwaiter().GetResult();
 }
 /// <param name='operations'>
 /// The operations group for this extension method.
 /// </param>
 /// <param name='merchantId'>
 /// </param>
 public static void ApiStoreByMerchantIdGet(this ILykkePayServiceStoreRequestMicroService operations, string merchantId)
 {
     operations.ApiStoreByMerchantIdGetAsync(merchantId).GetAwaiter().GetResult();
 }
 /// <param name='operations'>
 /// The operations group for this extension method.
 /// </param>
 /// <param name='request'>
 /// </param>
 public static void ApiStorePost(this ILykkePayServiceStoreRequestMicroService operations, PayRequest request = default(PayRequest))
 {
     operations.ApiStorePostAsync(request).GetAwaiter().GetResult();
 }