public HomeController(
     UserManager <ApplicationUser> userManager,
     IPaymentsService paymentsService)
 {
     _userManager     = userManager;
     _paymentsService = paymentsService;
 }
예제 #2
0
 public PaymentsController(
     IUserRepository userRepository,
     IPaymentsService payments)
     : base(userRepository)
 {
     _payments = payments;
 }
예제 #3
0
 public PaymentsController(
     ICurrentUserAccessor currentUserAccessor,
     IPaymentsService payments)
 {
     CurrentUserAccessor = currentUserAccessor;
     _payments           = payments;
 }
예제 #4
0
 public BusinessStatsService(IClientService clientService, IInvoiceService invoiceService, IExpenseService expenseService, IPaymentsService paymentsService)
 {
     ClientService   = clientService;
     InvoiceService  = invoiceService;
     PaymentsService = paymentsService;
     ExpenseService  = expenseService;
 }
예제 #5
0
 public OutstandingPaymentsController(
     IPaymentsService payments,
     IStudentsService students)
 {
     _payments = payments;
     _students = students;
 }
 public PaymentsController(IRequestInfo request_info, IPaymentsService paymentsService, IValidator <PaymentRequestDTO> validator, IMapper mapper)
 {
     _request_info    = request_info;
     _paymentsService = paymentsService;
     _validator       = validator;
     _mapper          = mapper;
 }
예제 #7
0
 public UsersController(IStudentsService students, IPaymentsService payments, ICurrentUserService user, IOutstandingPaymentsService outStandingPayments)
 {
     _students            = students;
     _payments            = payments;
     _user                = user;
     _outStandingPayments = outStandingPayments;
 }
예제 #8
0
 public PaymentsController(
     ILogger <PaymentsController> logger,
     IPaymentsService service)
 {
     _logger  = logger;
     _service = service;
 }
 public PaymentsController(
     IPaymentsService paymentsService,
     IMapper mapper)
 {
     _paymentsService = paymentsService;
     _mapper          = mapper;
 }
예제 #10
0
 public PaymentsController(UserManager <User> userManager, IPaymentProcessor paymentProcessor,
                           IPaymentsService paymentsService, IPaymentDetailsDtoFactory detailsDtoFactory)
 {
     _userManager       = userManager;
     _paymentProcessor  = paymentProcessor;
     _paymentsService   = paymentsService;
     _detailsDtoFactory = detailsDtoFactory;
 }
예제 #11
0
 public PaymentsController(
     IPaymentsService paymentsService,
     ILogFactory logFactory
     )
 {
     _paymentsService = paymentsService;
     _log             = logFactory.CreateLog(this);
 }
예제 #12
0
        /// <summary>
        /// Initializes a new instance of the <see cref="PaymentsController"/> class.
        /// </summary>
        /// <param name="logger">The logger.</param>
        /// <param name="context">The context.</param>
        /// <param name="paymentsService">The payments service.</param>
        public PaymentsController(ILogger <PaymentsController> logger, TransactionContext context, IPaymentsService paymentsService)
        {
            _logger = logger;

            _context = context;

            _paymentsService = paymentsService;
        }
예제 #13
0
 public PaymentsController(IOrderService ordersService, IPaymentsService paymentService,
                           IUserService usersService, IMapper mapper)
 {
     this.ordersService  = ordersService;
     this.paymentService = paymentService;
     this.usersService   = usersService;
     this.mapper         = mapper;
 }
예제 #14
0
 public PaymentProcessor(IPaymentsRepository paymentsRepository, IAcquiringBank acquiringBank,
                         ILogger <PaymentProcessor> logger, IPaymentsService paymentsService)
 {
     _paymentsRepository = paymentsRepository;
     _acquiringBank      = acquiringBank;
     _logger             = logger;
     _paymentsService    = paymentsService;
 }
 public WithdrawController(
     UserManager <ApplicationUser> userManager,
     IPaymentsService paymentsService,
     ISettingsRepository settingsRepository)
 {
     _userManager        = userManager;
     _paymentsService    = paymentsService;
     _settingsRepository = settingsRepository;
 }
예제 #16
0
 public HomeController(IDeviceService deviceService, ILogService logService, IPaymentsService paymentsService, IUserService userService, IGeneralService generalService, ISmsProtocolService smsProtocolService)
 {
     this.deviceService      = deviceService;
     this.logService         = logService;
     this.paymentsService    = paymentsService;
     this.userService        = userService;
     this.generalService     = generalService;
     this.smsProtocolService = smsProtocolService;
 }
 public ExportController(
     IPaymentsService paymentsService,
     IMerchantService merchantService,
     IInvoiceService invoiceService)
 {
     _paymentsService = paymentsService;
     _merchantService = merchantService;
     _invoiceService  = invoiceService;
 }
 public PaymentsController(
     IPaymentsService paymentsService,
     IPaymentsStatusUpdater paymentsStatusUpdater,
     IMapper mapper)
 {
     _paymentsService       = paymentsService;
     _paymentsStatusUpdater = paymentsStatusUpdater;
     _mapper = mapper;
 }
예제 #19
0
 public TraderService(IUnitOfWork unitOfWork, IAccountService accountService, IPaymentsService paymentsService,
                      IShareControlService shareControlService, ISharesService sharesService)
 {
     _accountService      = accountService;
     _paymentsService     = paymentsService;
     _shareControlService = shareControlService;
     _sharesService       = sharesService;
     _unitOfWork          = (UnitOfWork)unitOfWork;
 }
예제 #20
0
 public PaymentsController(
     IConfiguration configuration,
     IPaymentsService paymentsService,
     IGradesService gradesService)
 {
     this.configuration   = configuration;
     this.paymentsService = paymentsService;
     this.gradesService   = gradesService;
 }
예제 #21
0
        public EarningsController(
            UserManager <ApplicationUser> userManager,
            IPaymentsService paymentsService,

            IEarningsService earningsService)
        {
            _userManager     = userManager;
            _earningsService = earningsService;
            _paymentsService = paymentsService;
        }
예제 #22
0
        public InvoiceService(IDBService dBService, IClientService clientService, IItemsService itemsService, IPDFService pdfService, ISettingsService settingsService, IPaymentsService paymentsService) : base(dBService)
        {
            ClientService   = clientService;
            ItemsService    = itemsService;
            PDFService      = pdfService;
            SettingsService = settingsService;
            PaymentsService = paymentsService;

            AllItems = GetAllFromDB();
        }
예제 #23
0
 public PaymentsController(IPaymentsService paymentService, IOrdersService ordersService,
                           IUsersService usersService, IEmailSender emailSender, IMapper mapper, IViewRender viewRender)
 {
     this.paymentService = paymentService;
     this.ordersService  = ordersService;
     this.usersService   = usersService;
     this.emailSender    = emailSender;
     this.mapper         = mapper;
     this.viewRender     = viewRender;
 }
예제 #24
0
        public async Task SetUp()
        {
            _service = RestService.For <IPaymentsService>(CreateClient());
            var response = await _service.CreateCard(new CreateCreditCardModel
            {
                CreditCardSubscriptionId = DefaultCreditCardSubSubscriptions.GoldId
            });

            _cardId = response.CreditCardId;
        }
 public DepositController(
     UserManager <ApplicationUser> userManager,
     IPaymentsService paymentsService,
     IGenericRepository <PutMoney> putMoneyRepository,
     ISettingsRepository settingsRepository)
 {
     _userManager        = userManager;
     _paymentsService    = paymentsService;
     _settingsRepository = settingsRepository;
     _putMoneyRepository = putMoneyRepository;
 }
 public PaymentsController(
     IPaymentsService paymentsService,
     IReservationsService reservationsService,
     IReservationPaymentsService reservationPaymentsService,
     IPaymentTypesService paymentTypesService)
 {
     this.paymentsService            = paymentsService;
     this.reservationsService        = reservationsService;
     this.reservationPaymentsService = reservationPaymentsService;
     this.paymentTypesService        = paymentTypesService;
 }
 public PartnersPaymentStatusUpdatedSubscriber(
     string connectionString,
     string exchangeName,
     string queueName,
     IPaymentsService paymentsService,
     ILogFactory logFactory)
     : base(connectionString, exchangeName, queueName, logFactory)
 {
     _paymentsService = paymentsService;
     _log             = logFactory.CreateLog(this);
 }
예제 #28
0
 public PaymentsController(
     IReservationsService reservationsService,
     IPaymentsService paymentsService,
     IEmailSender emailSender,
     UserManager <ApplicationUser> userManager)
 {
     this.reservationsService = reservationsService;
     this.paymentsService     = paymentsService;
     this.emailSender         = emailSender;
     this.userManager         = userManager;
 }
예제 #29
0
 public ExpiredRequestsManager(
     IPaymentsService paymentsService,
     TimeSpan idlePeriod,
     TimeSpan paymentsExpirationPeriod,
     ILogFactory logFactory)
 {
     _paymentsService          = paymentsService;
     _paymentsExpirationPeriod = paymentsExpirationPeriod;
     _log                     = logFactory.CreateLog(this);
     _timerTrigger            = new TimerTrigger(nameof(ExpiredRequestsManager), idlePeriod, logFactory);
     _timerTrigger.Triggered += Execute;
 }
예제 #30
0
        public DemoDataService(IDBService dBService, IClientService clientService, IExpenseService expenseService,
                               IInvoiceService invoiceService, IItemsService itemsService, IPaymentsService paymentsService)
        {
            DBService       = dBService;
            ClientService   = clientService;
            ExpenseService  = expenseService;
            InvoiceService  = invoiceService;
            ItemsService    = itemsService;
            PaymentsService = paymentsService;

            PopulateDatabase();
        }
 public PaymentsApiController(IUserService service, IPaymentsService pservice)
 {
     this._userService = service;
     this._paymentsService = pservice;
 }