Beispiel #1
0
 public PaymentService(IRepository <Invoice> invoiceRepository,
                       IThirdPartyPaymentService stripePaymentService,
                       IRepository <InvoicePayment> invoicePaymentRepository,
                       IRepository <PatientCardOnFile> patientCardOnFileRepository,
                       UserHandler userHandler)
 {
     _invoiceRepository           = invoiceRepository;
     _stripePaymentService        = stripePaymentService;
     _invoicePaymentRepository    = invoicePaymentRepository;
     _patientCardOnFileRepository = patientCardOnFileRepository;
     _userHandler = userHandler;
     _clinicId    = _userHandler.GetUserContext().ClinicId;
 }
Beispiel #2
0
 public HomeController(UserHandler userHandler, IThirdPartyPaymentService helcimPaymentService)
     : base(userHandler)
 {
     _helcimPaymentService = helcimPaymentService;
 }
Beispiel #3
0
 public PaymentService(IThirdPartyPaymentService helcimPaymentService, IRepository <BillingInfo> billingRepository, IRepository <Payment> paymentRepository)
 {
     _helcimPaymentService = helcimPaymentService;
     _billingRepository    = billingRepository;
     _paymentRepository    = paymentRepository;
 }