public StripeConnectPaymentProcessor(ILocalizationService localizationService,
                                      IWebHelper webHelper,
                                      ISettingService settingService,
                                      StripeConnectObjectContext stripeConnectObjectContext,
                                      IChargeService chargeService,
                                      IWorkContext workContext,
                                      IStoreContext storeContext,
                                      IPriceCalculationService priceCalculationService,
                                      ILogger logger,
                                      IVendorService vendorService,
                                      ICustomerService customerService,
                                      IRefundService refundService)
 {
     _localizationservice        = localizationService;
     _webhelper                  = webHelper;
     _settingService             = settingService;
     _stripeConnectObjectContext = stripeConnectObjectContext;
     _chargeService              = chargeService;
     _workContext                = workContext;
     _storeContext               = storeContext;
     _priceCalculationService    = priceCalculationService;
     _logger          = logger;
     _vendorService   = vendorService;
     _customerService = customerService;
     _refundService   = refundService;
 }
 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;
 }
Exemple #3
0
 public TagController(IChargeService chargeService, IChargeTagRelationService chargeTagRelationService, INoteService noteService, ITagService tagService)
 {
     _chargeService            = chargeService;
     _chargeTagRelationService = chargeTagRelationService;
     _noteService = noteService;
     _tagService  = tagService;
 }
Exemple #4
0
 public InvoiceController(IInvoiceService invoiceService, IClientService clientService,
                          IChargeService chargeService, IChargeNameService chargeNameService)
 {
     this.invoiceService    = invoiceService;
     this.clientService     = clientService;
     this.chargeService     = chargeService;
     this.chargeNameService = chargeNameService;
 }
Exemple #5
0
 public ChargeController(IChargeService ChargeService, IUserService userService, IUserBaseService userBaseService, IAppLogService appLogService)
 {
     _chargeService   = ChargeService;
     _userService     = userService;
     _userBaseService = userBaseService;
     _currentUserId   = _userService.GetCurrentUserId();
     _appLogService   = appLogService;
 }
        public CommerceService(IExtCommonDao commonDao, ICommerceDao dao, IPaymentProvider provider, IBasketRules rules, IOrderProcessorFactory processorFactory, ITemplateEngine templateEngine, IChargeService chargeService) {
            _commonDao = commonDao;
            _dao = dao;
            _provider = provider;
            _rules = rules;
            _chargeService = chargeService;
            _processorFactory = processorFactory;
		}
 private static void GetServices()
 {
     _tokenService             = _serviceProvider.GetService <ITokenService>();
     _chargeService            = _serviceProvider.GetService <IChargeService>();
     _captureService           = _serviceProvider.GetService <ICaptureService>();
     _refundService            = _serviceProvider.GetService <IRefundService>();
     _customerService          = _serviceProvider.GetService <ICustomerService>();
     _paymentInstrumentService = _serviceProvider.GetService <IPaymentInstrumentService>();
 }
Exemple #8
0
        public ChargeController(IChargeService ChargeService, IUnitOfWork unitOfWork, IExceptionHandlingService exec)
        {
            _ChargeService = ChargeService;
            _unitOfWork    = unitOfWork;
            _exception     = exec;

            UserRoles = (List <string>)System.Web.HttpContext.Current.Session["Roles"];

            //Log Initialization
            LogVm.SessionId      = 0;
            LogVm.ControllerName = System.Web.HttpContext.Current.Request.RequestContext.RouteData.GetRequiredString("controller");
            LogVm.ActionName     = System.Web.HttpContext.Current.Request.RequestContext.RouteData.GetRequiredString("action");
            LogVm.User           = System.Web.HttpContext.Current.Request.RequestContext.HttpContext.User.Identity.Name;
        }
 public RefundService
     (IWorkContext workContext,
     ILogger logger,
     StripeConnectPaymentSettings stripeConnectPaymentSettings,
     IWebHelper webHelper,
     HttpClient httpClient,
     ICustomerEntityService customerEntityService,
     IChargeService chargeService,
     IOrderChargeEntityService chargeEntityService)
 {
     _workContext = workContext;
     _logger      = logger;
     _stripeConnectPaymentSettings = stripeConnectPaymentSettings;
     _webHelper             = webHelper;
     _httpClient            = httpClient;
     _customerEntityService = customerEntityService;
     _chargeService         = chargeService;
     _chargeEntityService   = chargeEntityService;
     _stripeRefundService   = new StripeRefundService(_stripeConnectPaymentSettings.SecretKey);
 }
Exemple #10
0
 public ChargeController(IChargeService chargeService)
 {
     this.chargeService = chargeService;
 }
Exemple #11
0
 public CaseController(ICaseService caseService, IOrderService orderService, IChargeService chargeService)
 {
     this.caseService   = caseService;
     this.orderService  = orderService;
     this.chargeService = chargeService;
 }
Exemple #12
0
 public SampleController(IChargeService chargeService, ILogger <SampleController> logger)
 {
     _chargeService = chargeService;
     _logger        = logger;
 }
Exemple #13
0
 public ChargeController(IChargeService chargeSrv, IUserService userSrv) : base(userSrv)
 {
     _chargeSrv = chargeSrv;
 }
 public ChargesController(IChargeService chargeServ)
 {
     _chargeService = chargeServ;
 }
Exemple #15
0
 public DeleteChargeController(IChargeService chargeService, INoteService noteService, ITagController tagController)
 {
     _chargeService = chargeService;
     _noteService   = noteService;
     _tagController = tagController;
 }
Exemple #16
0
 public ChargeController(IChargeService chargeService)
 {
     _chargeService = chargeService;
     logInfo        = LogManager.GetLogger("INFO");
     logError       = LogManager.GetLogger("ERROR");
 }
 public ChargeController(IChargeService chargeSrv)
 {
     _chargeSrv = chargeSrv;
 }
 public ChargesController(IChargeService objSvc)
 {
     this.objSvc = objSvc as ChargeService;
 }
Exemple #19
0
 public BreadcrumbManager(IChargeService chargeService, ICategoryService categoryService)
 {
     _chargeService = chargeService;
     _categoryService = categoryService;
 }
Exemple #20
0
 public BatteryService(IDbContextFactory <AppDbContextFactory> contextFactory, IChargeService chargeService, IDeleteChargeController deleteChargeController)
 {
     _contextFactory         = contextFactory;
     _chargeService          = chargeService;
     _deleteChargeController = deleteChargeController;
 }
Exemple #21
0
 public ChargeChildController(IChargeService chargeService, IStatusService statusService)
 {
     _chargeService = chargeService;
     _statusService = statusService;
 }
 public ChargesController(IChargeService ChargeService)
  { _ChargeService =  ChargeService;  }
Exemple #23
0
 public ChargeController(IChargeService chargeService, BrewsyContext context)
 {
     _chargeService = chargeService;
     _context       = context;
 }
Exemple #24
0
 public ChargeCountService(IChargeService chargeService, IStatusService statusService)
 {
     _chargeService = chargeService;
     _statusService = statusService;
 }