public WebhooksController( IStripeService stripeService, IProjectInvoiceService invoiceService, IDisperseFundsService paidInvoiceService, IFinancialAccountService financialAccountService, ICardService cardService, IChargeService chargeService, ISourceService sourceService, IPaymentIntentService paymentIntentService, ISubscriptionService subscriptionService, ILogger <WebhooksController> logger, IOptions <AppSettings> appSettings, IBuyerAccountService buyerAccountService) { _logger = logger; _cardService = cardService; _chargeService = chargeService; _sourceService = sourceService; _paymentIntentService = paymentIntentService; _subscriptionService = subscriptionService; _stripeService = stripeService; _invoiceService = invoiceService; _paidInvoiceService = paidInvoiceService; _financialAccountService = financialAccountService; _appSettings = appSettings; _buyerAccountService = buyerAccountService; _logger = logger; }
public ImportController( ISubscriptionService subscriptionService, IBuyerAccountService buyerAccountService) { _subscriptionService = subscriptionService; _buyerAccountService = buyerAccountService; }
public BuyerAccountController( IServiceProvider serviceProvider, IBuyerAccountService buyerService, IOrganizationCustomer customer) : base(serviceProvider) { _buyerService = buyerService; _customer = customer; }
public ExportController( IProductService productService, IPlanService planService, ISubscriptionService subscriptionService, IBuyerAccountService buyerAccountService) { _productService = productService; _planService = planService; _subscriptionService = subscriptionService; _buyerAccountService = buyerAccountService; }
public CardController( ICardService cardService, IOrganizationCustomer customer, IFinancialAccountService service, IBuyerAccountService buyerService, IServiceProvider serviceProvider) : base(serviceProvider) { _buyerService = buyerService; _service = service; _cardService = cardService; _customer = customer; }
public OrganizationService( IServiceProvider serviceProvider, IStorageService storageService, ISubscriptionService subscriptionService, Lazy <IUserInfo> userInfo, ILogger <OrganizationService> logger, IBuyerAccountService buyerService) : base(serviceProvider) { _logger = logger; _buyerService = buyerService; _organizationPersonRepo = UnitOfWork.RepositoryAsync <OrganizationPerson>(); UnitOfWork.RepositoryAsync <Contract>(); _storageService = storageService; _subscriptionService = subscriptionService; _userInfo = userInfo; }
public ProjectInvoiceService( IServiceProvider serviceProvider, StripeInvoiceService invoiceService, InvoiceItemService invoiceItemService, ILogger <ProjectInvoiceService> logger, InvoicesEventHandlers events, IProjectService projectService, IBuyerAccountService buyerAccountService) : base(serviceProvider) { _invoiceService = invoiceService; _invoiceItemService = invoiceItemService; _logger = logger; _projectService = projectService; _buyerAccountService = buyerAccountService; _invoices = UnitOfWork.RepositoryAsync <StripeInvoice>(); _timeEntries = UnitOfWork.RepositoryAsync <TimeEntry>(); _items = UnitOfWork.RepositoryAsync <StripeInvoiceItem>(); _contracts = UnitOfWork.RepositoryAsync <Contract>(); AddEventHandler(events); }