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; }
public HomeController(UserHandler userHandler, IThirdPartyPaymentService helcimPaymentService) : base(userHandler) { _helcimPaymentService = helcimPaymentService; }
public PaymentService(IThirdPartyPaymentService helcimPaymentService, IRepository <BillingInfo> billingRepository, IRepository <Payment> paymentRepository) { _helcimPaymentService = helcimPaymentService; _billingRepository = billingRepository; _paymentRepository = paymentRepository; }