public PayPalExpressController(
			IPaymentService paymentService, IOrderService orderService,
			IOrderProcessingService orderProcessingService,
			ILogger logger, 
			PaymentSettings paymentSettings, ILocalizationService localizationService,
			OrderSettings orderSettings,
			ICurrencyService currencyService, CurrencySettings currencySettings,
			IOrderTotalCalculationService orderTotalCalculationService, ICustomerService customerService,
			IGenericAttributeService genericAttributeService,
            IComponentContext ctx, ICommonServices services,
            IStoreService storeService)
        {
            _paymentService = paymentService;
            _orderService = orderService;
            _orderProcessingService = orderProcessingService;
            _logger = logger;
            _paymentSettings = paymentSettings;
            _localizationService = localizationService;
            _orderSettings = orderSettings;
            _currencyService = currencyService;
            _currencySettings = currencySettings;
            _orderTotalCalculationService = orderTotalCalculationService;
            _customerService = customerService;
            _genericAttributeService = genericAttributeService;
            _services = services;
            _storeService = storeService;

            _helper = new PluginHelper(ctx, "SmartStore.PayPal", "Plugins.Payments.PayPalExpress");

            T = NullLocalizer.Instance;
        }
        public CheckoutController(IWorkContext workContext,
            IShoppingCartService shoppingCartService, ILocalizationService localizationService,
            ITaxService taxService, ICurrencyService currencyService,
            IPriceFormatter priceFormatter, IOrderProcessingService orderProcessingService,
            ICustomerService customerService,  ICountryService countryService,
            IStateProvinceService stateProvinceService, IShippingService shippingService,
            IPaymentService paymentService, IOrderTotalCalculationService orderTotalCalculationService,
            ILogger logger, IOrderService orderService, IWebHelper webHelper,
            OrderSettings orderSettings, RewardPointsSettings rewardPointsSettings,
            PaymentSettings paymentSettings)
        {
            this._workContext = workContext;
            this._shoppingCartService = shoppingCartService;
            this._localizationService = localizationService;
            this._taxService = taxService;
            this._currencyService = currencyService;
            this._priceFormatter = priceFormatter;
            this._orderProcessingService = orderProcessingService;
            this._customerService = customerService;
            this._countryService = countryService;
            this._stateProvinceService = stateProvinceService;
            this._shippingService = shippingService;
            this._paymentService = paymentService;
            this._orderTotalCalculationService = orderTotalCalculationService;
            this._logger = logger;
            this._orderService = orderService;
            this._webHelper = webHelper;

            this._orderSettings = orderSettings;
            this._rewardPointsSettings = rewardPointsSettings;
            this._paymentSettings = paymentSettings;
        }
 public PaymentPayPalStandardController(IWorkContext workContext,
     IStoreService storeService, 
     ISettingService settingService, 
     IPaymentService paymentService, 
     IOrderService orderService, 
     IOrderProcessingService orderProcessingService,
     ILocalizationService localizationService,
     IStoreContext storeContext,
     ILogger logger, 
     IWebHelper webHelper,
     PaymentSettings paymentSettings,
     PayPalStandardPaymentSettings payPalStandardPaymentSettings)
 {
     this._workContext = workContext;
     this._storeService = storeService;
     this._settingService = settingService;
     this._paymentService = paymentService;
     this._orderService = orderService;
     this._orderProcessingService = orderProcessingService;
     this._localizationService = localizationService;
     this._storeContext = storeContext;
     this._logger = logger;
     this._webHelper = webHelper;
     this._paymentSettings = paymentSettings;
     this._payPalStandardPaymentSettings = payPalStandardPaymentSettings;
 }
        public ReturnRequestController(IOrderService orderService, 
            IWorkContext workContext, 
            IStoreContext storeContext,
            ICurrencyService currencyService, 
            IPriceFormatter priceFormatter,
            IOrderProcessingService orderProcessingService,
            ILocalizationService localizationService,
            ICustomerService customerService,
            IWorkflowMessageService workflowMessageService,
            IDateTimeHelper dateTimeHelper,
            LocalizationSettings localizationSettings,
            OrderSettings orderSettings)
        {
            this._orderService = orderService;
            this._workContext = workContext;
            this._storeContext = storeContext;
            this._currencyService = currencyService;
            this._priceFormatter = priceFormatter;
            this._orderProcessingService = orderProcessingService;
            this._localizationService = localizationService;
            this._customerService = customerService;
            this._workflowMessageService = workflowMessageService;
            this._dateTimeHelper = dateTimeHelper;

            this._localizationSettings = localizationSettings;
            this._orderSettings = orderSettings;
        }
Exemple #5
0
        public OrderController(IOrderService orderService, IWorkContext workContext,
            ICurrencyService currencyService, IPriceFormatter priceFormatter,
            IOrderProcessingService orderProcessingService,
            IDateTimeHelper dateTimeHelper, IMeasureService measureService,
            IPaymentService paymentService, ILocalizationService localizationService,
            IPdfService pdfService, ICustomerService customerService,
            IWorkflowMessageService workflowMessageService, 
            LocalizationSettings localizationSettings,
            MeasureSettings measureSettings, CatalogSettings catalogSettings,
            OrderSettings orderSettings, TaxSettings taxSettings, PdfSettings pdfSettings)
        {
            this._orderService = orderService;
            this._workContext = workContext;
            this._currencyService = currencyService;
            this._priceFormatter = priceFormatter;
            this._orderProcessingService = orderProcessingService;
            this._dateTimeHelper = dateTimeHelper;
            this._measureService = measureService;
            this._paymentService = paymentService;
            this._localizationService = localizationService;
            this._pdfService = pdfService;
            this._customerService = customerService;
            this._workflowMessageService = workflowMessageService;

            this._localizationSettings = localizationSettings;
            this._measureSettings = measureSettings;
            this._catalogSettings = catalogSettings;
            this._orderSettings = orderSettings;
            this._taxSettings = taxSettings;
            this._pdfSettings = pdfSettings;
        }
 public KlarnaCheckoutController(
     IWorkContext workContext,
     ISettingService settingService,
     KlarnaCheckoutSettings settings,
     OrderSettings orderSettings,
     IRepository<KlarnaCheckoutEntity> repository,
     IOrderService orderService,
     IOrderProcessingService orderProcessingService,
     IStoreContext storeContext,
     ILogger logger,
     ICustomerService customerService,
     ICurrencyService currencyService,
     IKlarnaCheckoutHelper klarnaCheckoutHelper,
     IKlarnaCheckoutPaymentService klarnaHelper)
 {
     _workContext = workContext;
     _settingService = settingService;
     _settings = settings;
     _orderSettings = orderSettings;
     _repository = repository;
     _orderService = orderService;
     _orderProcessingService = orderProcessingService;
     _storeContext = storeContext;
     _logger = logger;
     _customerService = customerService;
     _currencyService = currencyService;
     _klarnaCheckoutHelper = klarnaCheckoutHelper;
     _klarnaCheckoutPaymentService = klarnaHelper;
 }
 public GoogleCheckoutPaymentProcessor(ISettingService settingService, 
     IWebHelper webHelper, ITaxService taxService,
     IShippingService shippingService, 
     IOrderTotalCalculationService orderTotalCalculationService,
     IProductAttributeFormatter productAttributeFormatter,
     IPriceCalculationService priceCalculationService, IWorkContext workContext,
     ICustomerService customerService, IGenericAttributeService genericAttributeService, 
     ICountryService countryService,
     IStateProvinceService stateProvinceService, IOrderProcessingService orderProcessingService,
     IOrderService orderService, ILogger logger, HttpContextBase httpContext)
 {
     this._settingService = settingService;
     this._webHelper = webHelper;
     this._taxService = taxService;
     this._shippingService = shippingService;
     this._orderTotalCalculationService = orderTotalCalculationService;
     this._productAttributeFormatter = productAttributeFormatter;
     this._priceCalculationService = priceCalculationService;
     this._workContext = workContext;
     this._customerService = customerService;
     this._genericAttributeService = genericAttributeService;
     this._countryService = countryService;
     this._stateProvinceService = stateProvinceService;
     this._orderProcessingService = orderProcessingService;
     this._orderService = orderService;
     this._logger = logger;
     this._httpContext = httpContext;
 }
        public PaymentSagePayServerController(ISettingService settingService, 
            IPaymentService paymentService, IOrderService orderService, 
            IOrderProcessingService orderProcessingService,
            ILogger logger, SagePayServerPaymentSettings sagePayServerPaymentSettings,
            PaymentSettings paymentSettings, ILocalizationService localizationService,
            IWorkContext workContext, ISagePayServerTransactionService sagePayServerTransactionService,
            IOrderTotalCalculationService orderTotalCalculationService, ICurrencyService currencyService, CurrencySettings currencySettings,
            IMobileDeviceHelper mobileDeviceHelper, OrderSettings orderSettings, HttpContextBase httpContext)
        {
            this._settingService = settingService;
            this._paymentService = paymentService;
            this._orderService = orderService;
            this._orderProcessingService = orderProcessingService;
            this._localizationService = localizationService;
            this._sagePayServerTransactionService = sagePayServerTransactionService;
            this._orderTotalCalculationService = orderTotalCalculationService;
            this._currencyService = currencyService;

            this._sagePayServerPaymentSettings = sagePayServerPaymentSettings;
            this._paymentSettings = paymentSettings;
            this._currencySettings = currencySettings;
            this._orderSettings = orderSettings;

            this._logger = logger;

            this._workContext = workContext;

            this._httpContext = httpContext;

            this._mobileDeviceHelper = mobileDeviceHelper;
        }
        public OrderController(IOrderService orderService, 
            IShipmentService shipmentService, IWorkContext workContext,
            ICurrencyService currencyService, IPriceFormatter priceFormatter,
            IOrderProcessingService orderProcessingService, IDateTimeHelper dateTimeHelper,
            IPaymentService paymentService, ILocalizationService localizationService,
            IPdfService pdfService, IShippingService shippingService,
            ICountryService countryService, IProductAttributeParser productAttributeParser,
            IWebHelper webHelper,
            CatalogSettings catalogSettings, OrderSettings orderSettings,
            TaxSettings taxSettings, PdfSettings pdfSettings,
            ShippingSettings shippingSettings, AddressSettings addressSettings)
        {
            this._orderService = orderService;
            this._shipmentService = shipmentService;
            this._workContext = workContext;
            this._currencyService = currencyService;
            this._priceFormatter = priceFormatter;
            this._orderProcessingService = orderProcessingService;
            this._dateTimeHelper = dateTimeHelper;
            this._paymentService = paymentService;
            this._localizationService = localizationService;
            this._pdfService = pdfService;
            this._shippingService = shippingService;
            this._countryService = countryService;
            this._productAttributeParser = productAttributeParser;
            this._webHelper = webHelper;

            this._catalogSettings = catalogSettings;
            this._orderSettings = orderSettings;
            this._taxSettings = taxSettings;
            this._pdfSettings = pdfSettings;
            this._shippingSettings = shippingSettings;
            this._addressSettings = addressSettings;
        }
 public MerchantController(ICustomerService customerService, IMerchantService merchantServie, 
     IProductServices productServices, IOrderProcessingService orderProcessingService)
 {
     _customerService = customerService;
     _merchantServie = merchantServie;
     _productServices = productServices;
     _orderProcessingService = orderProcessingService;
 }
        public CheckoutController(IWorkContext workContext,
            IStoreContext storeContext,
            IStoreMappingService storeMappingService,
            IShoppingCartService shoppingCartService, 
            ILocalizationService localizationService, 
            ITaxService taxService, 
            ICurrencyService currencyService, 
            IPriceFormatter priceFormatter, 
            IOrderProcessingService orderProcessingService,
            ICustomerService customerService, 
            IGenericAttributeService genericAttributeService,
            ICountryService countryService,
            IStateProvinceService stateProvinceService,
            IShippingService shippingService, 
            IPaymentService paymentService,
            IPluginFinder pluginFinder,
            IOrderTotalCalculationService orderTotalCalculationService,
            ILogger logger,
            IOrderService orderService,
            IWebHelper webHelper,
            HttpContextBase httpContext,
            IMobileDeviceHelper mobileDeviceHelper,
            OrderSettings orderSettings, 
            RewardPointsSettings rewardPointsSettings,
            PaymentSettings paymentSettings,
            ShippingSettings shippingSettings,
            AddressSettings addressSettings)
        {
            this._workContext = workContext;
            this._storeContext = storeContext;
            this._storeMappingService = storeMappingService;
            this._shoppingCartService = shoppingCartService;
            this._localizationService = localizationService;
            this._taxService = taxService;
            this._currencyService = currencyService;
            this._priceFormatter = priceFormatter;
            this._orderProcessingService = orderProcessingService;
            this._customerService = customerService;
            this._genericAttributeService = genericAttributeService;
            this._countryService = countryService;
            this._stateProvinceService = stateProvinceService;
            this._shippingService = shippingService;
            this._paymentService = paymentService;
            this._pluginFinder = pluginFinder;
            this._orderTotalCalculationService = orderTotalCalculationService;
            this._logger = logger;
            this._orderService = orderService;
            this._webHelper = webHelper;
            this._httpContext = httpContext;
            this._mobileDeviceHelper = mobileDeviceHelper;

            this._orderSettings = orderSettings;
            this._rewardPointsSettings = rewardPointsSettings;
            this._paymentSettings = paymentSettings;
            this._shippingSettings = shippingSettings;
            this._addressSettings = addressSettings;
        }
 public OrderController(IOrderService orderService, 
     IShipmentService shipmentService, 
     IWorkContext workContext,
     ICurrencyService currencyService,
     IPriceFormatter priceFormatter,
     IOrderProcessingService orderProcessingService, 
     IDateTimeHelper dateTimeHelper,
     IPaymentService paymentService, 
     ILocalizationService localizationService,
     IPdfService pdfService, 
     IShippingService shippingService,
     ICountryService countryService, 
     IProductAttributeParser productAttributeParser,
     IWebHelper webHelper,
     IDownloadService downloadService,
     IAddressAttributeFormatter addressAttributeFormatter,
     IStoreContext storeContext,
     IOrderTotalCalculationService orderTotalCalculationService,
     IRewardPointsService rewardPointsService,
     IGiftCardService giftCardService,
     CatalogSettings catalogSettings,
     OrderSettings orderSettings,
     TaxSettings taxSettings,
     ShippingSettings shippingSettings, 
     AddressSettings addressSettings,
     RewardPointsSettings rewardPointsSettings,
     PdfSettings pdfSettings)
 {
     this._orderService = orderService;
     this._shipmentService = shipmentService;
     this._workContext = workContext;
     this._currencyService = currencyService;
     this._priceFormatter = priceFormatter;
     this._orderProcessingService = orderProcessingService;
     this._dateTimeHelper = dateTimeHelper;
     this._paymentService = paymentService;
     this._localizationService = localizationService;
     this._pdfService = pdfService;
     this._shippingService = shippingService;
     this._countryService = countryService;
     this._productAttributeParser = productAttributeParser;
     this._webHelper = webHelper;
     this._downloadService = downloadService;
     this._addressAttributeFormatter = addressAttributeFormatter;
     this._storeContext = storeContext;
     this._rewardPointsService = rewardPointsService;
     this._giftCardService = giftCardService;
     this._orderTotalCalculationService = orderTotalCalculationService;
     this._catalogSettings = catalogSettings;
     this._orderSettings = orderSettings;
     this._taxSettings = taxSettings;
     this._shippingSettings = shippingSettings;
     this._addressSettings = addressSettings;
     this._rewardPointsSettings = rewardPointsSettings;
     this._pdfSettings = pdfSettings;
 }
        public OrderController(IOrderService orderService, 
            IOrderReportService orderReportService, IOrderProcessingService orderProcessingService,
            IDateTimeHelper dateTimeHelper, IPriceFormatter priceFormatter, ILocalizationService localizationService,
            IWorkContext workContext, ICurrencyService currencyService,
            IEncryptionService encryptionService, IPaymentService paymentService,
            IMeasureService measureService, IPdfService pdfService,
            IAddressService addressService, ICountryService countryService,
            IStateProvinceService stateProvinceService, IProductService productService,
            IExportManager exportManager, IPermissionService permissionService,
            IWorkflowMessageService workflowMessageService,
            ICategoryService categoryService, IManufacturerService manufacturerService,
            IProductAttributeService productAttributeService, IProductAttributeParser productAttributeParser,
            IProductAttributeFormatter productAttributeFormatter, IShoppingCartService shoppingCartService,
            IGiftCardService giftCardService, IDownloadService downloadService,
            IShipmentService shipmentService, IStoreService storeService,
            CatalogSettings catalogSettings, CurrencySettings currencySettings, TaxSettings taxSettings,
            MeasureSettings measureSettings, PdfSettings pdfSettings, AddressSettings addressSettings)
        {
            this._orderService = orderService;
            this._orderReportService = orderReportService;
            this._orderProcessingService = orderProcessingService;
            this._dateTimeHelper = dateTimeHelper;
            this._priceFormatter = priceFormatter;
            this._localizationService = localizationService;
            this._workContext = workContext;
            this._currencyService = currencyService;
            this._encryptionService = encryptionService;
            this._paymentService = paymentService;
            this._measureService = measureService;
            this._pdfService = pdfService;
            this._addressService = addressService;
            this._countryService = countryService;
            this._stateProvinceService = stateProvinceService;
            this._productService = productService;
            this._exportManager = exportManager;
            this._permissionService = permissionService;
            this._workflowMessageService = workflowMessageService;
            this._categoryService = categoryService;
            this._manufacturerService = manufacturerService;
            this._productAttributeService = productAttributeService;
            this._productAttributeParser = productAttributeParser;
            this._productAttributeFormatter = productAttributeFormatter;
            this._shoppingCartService = shoppingCartService;
            this._giftCardService = giftCardService;
            this._downloadService = downloadService;
            this._shipmentService = shipmentService;
            this._storeService = storeService;

            this._catalogSettings = catalogSettings;
            this._currencySettings = currencySettings;
            this._taxSettings = taxSettings;
            this._measureSettings = measureSettings;
            this._pdfSettings = pdfSettings;
            this._addressSettings = addressSettings;
        }
 public AdminController(ICategoryService categoryService, ICustomerService customerService, 
     IMerchantService merchantServie, IDepartmentService departmentService,
     IOrderProcessingService orderProcessingService, IPromotionService promotionService)
 {
     _categoryService = categoryService;
     _customerService = customerService;
     _merchantServie = merchantServie;
     _departmentService = departmentService;
     _orderProcessingService = orderProcessingService;
     _promotionService = promotionService;
 }
        public ShoppingCartController(IProductService productService, IWorkContext workContext,
            IShoppingCartService shoppingCartService, IPictureService pictureService,
            ILocalizationService localizationService, IProductAttributeFormatter productAttributeFormatter,
            ITaxService taxService, ICurrencyService currencyService, 
            IPriceCalculationService priceCalculationService, IPriceFormatter priceFormatter,
            ICheckoutAttributeParser checkoutAttributeParser, ICheckoutAttributeFormatter checkoutAttributeFormatter, 
            IOrderProcessingService orderProcessingService,
            IDiscountService discountService,ICustomerService customerService, 
            IGiftCardService giftCardService, ICountryService countryService,
            IStateProvinceService stateProvinceService, IShippingService shippingService, 
            IOrderTotalCalculationService orderTotalCalculationService,
            ICheckoutAttributeService checkoutAttributeService, IPaymentService paymentService,
            IWorkflowMessageService workflowMessageService,
            IPermissionService permissionService, 
            IDownloadService downloadService,
            MediaSettings mediaSetting, ShoppingCartSettings shoppingCartSettings,
            CatalogSettings catalogSettings, OrderSettings orderSettings,
            ShippingSettings shippingSettings, TaxSettings taxSettings,
            CaptchaSettings captchaSettings)
        {
            this._productService = productService;
            this._workContext = workContext;
            this._shoppingCartService = shoppingCartService;
            this._pictureService = pictureService;
            this._localizationService = localizationService;
            this._productAttributeFormatter = productAttributeFormatter;
            this._taxService = taxService;
            this._currencyService = currencyService;
            this._priceCalculationService = priceCalculationService;
            this._priceFormatter = priceFormatter;
            this._checkoutAttributeParser = checkoutAttributeParser;
            this._checkoutAttributeFormatter = checkoutAttributeFormatter;
            this._orderProcessingService = orderProcessingService;
            this._discountService = discountService;
            this._customerService = customerService;
            this._giftCardService = giftCardService;
            this._countryService = countryService;
            this._stateProvinceService = stateProvinceService;
            this._shippingService = shippingService;
            this._orderTotalCalculationService = orderTotalCalculationService;
            this._checkoutAttributeService = checkoutAttributeService;
            this._paymentService = paymentService;
            this._workflowMessageService = workflowMessageService;
            this._permissionService = permissionService;
            this._downloadService = downloadService;

            this._mediaSetting = mediaSetting;
            this._shoppingCartSettings = shoppingCartSettings;
            this._catalogSettings = catalogSettings;
            this._orderSettings = orderSettings;
            this._shippingSettings = shippingSettings;
            this._taxSettings = taxSettings;
            this._captchaSettings = captchaSettings;
        }
Exemple #16
0
 public DownloadController(IDownloadService downloadService, IProductService productService,
     IOrderService orderService, IOrderProcessingService orderProcessingService,
     IWorkContext workContext, CustomerSettings customerSettings)
 {
     this._downloadService = downloadService;
     this._productService = productService;
     this._orderService = orderService;
     this._orderProcessingService = orderProcessingService;
     this._workContext = workContext;
     this._customerSettings = customerSettings;
 }
 public RecurringPaymentController(IOrderService orderService,
     IOrderProcessingService orderProcessingService, ILocalizationService localizationService,
     IWorkContext workContext, IDateTimeHelper dateTimeHelper, IPaymentService paymentService,
     IPermissionService permissionService)
 {
     this._orderService = orderService;
     this._orderProcessingService = orderProcessingService;
     this._localizationService = localizationService;
     this._workContext = workContext;
     this._dateTimeHelper = dateTimeHelper;
     this._paymentService = paymentService;
     this._permissionService = permissionService;
 }
 public PaymentPaytmController(ISettingService settingService,
     IPaymentService paymentService, IOrderService orderService,
     IOrderProcessingService orderProcessingService,
     PaytmPaymentSettings PaytmPaymentSettings,
     PaymentSettings paymentSettings)
 {
     this._settingService = settingService;
     this._paymentService = paymentService;
     this._orderService = orderService;
     this._orderProcessingService = orderProcessingService;
     this._PaytmPaymentSettings = PaytmPaymentSettings;
     this._paymentSettings = paymentSettings;
 }
Exemple #19
0
 public NopService()
 {
     _addressService = EngineContext.Current.Resolve<IAddressService>();
     _countryService = EngineContext.Current.Resolve<ICountryService>();
     _stateProvinceService = EngineContext.Current.Resolve<IStateProvinceService>();
     _customerService = EngineContext.Current.Resolve<ICustomerService>();
     _customerSettings = EngineContext.Current.Resolve<CustomerSettings>();
     _permissionSettings = EngineContext.Current.Resolve<IPermissionService>();
     _orderProcessingService = EngineContext.Current.Resolve<IOrderProcessingService>();
     _orderService = EngineContext.Current.Resolve<IOrderService>();
     _authenticationService = EngineContext.Current.Resolve<IAuthenticationService>();
     _workContext = EngineContext.Current.Resolve<IWorkContext>();
     _pluginFinder = EngineContext.Current.Resolve<IPluginFinder>();
 }
        public PayPalDirectController(
			IPaymentService paymentService, IOrderService orderService,
			IOrderProcessingService orderProcessingService,
			PaymentSettings paymentSettings, 
            IComponentContext ctx, ICommonServices services,
            IStoreService storeService)
        {
            _paymentService = paymentService;
            _orderService = orderService;
            _orderProcessingService = orderProcessingService;
            _services = services;
            _storeService = storeService;
            _helper = new PluginHelper(ctx, "SmartStore.PayPal", "Plugins.Payments.PayPalDirect");
        }
 public PaymentPayPalDirectController(ISettingService settingService, 
     IPaymentService paymentService, IOrderService orderService, 
     IOrderProcessingService orderProcessingService, 
     ILogger logger, PayPalDirectPaymentSettings paypalDirectPaymentSettings,
     PaymentSettings paymentSettings, ILocalizationService localizationService)
 {
     this._settingService = settingService;
     this._paymentService = paymentService;
     this._orderService = orderService;
     this._orderProcessingService = orderProcessingService;
     this._logger = logger;
     this._paypalDirectPaymentSettings = paypalDirectPaymentSettings;
     this._paymentSettings = paymentSettings;
     this._localizationService = localizationService;
 }
 public PaymentEmiController(ISettingService settingService, 
     IPaymentService paymentService, IOrderService orderService, 
     IOrderProcessingService orderProcessingService,
      ILocalizationService localizationService,
     EmiPaymentSettings EmiPaymentSettings,
     PaymentSettings paymentSettings)
 {
     this._settingService = settingService;
     this._paymentService = paymentService;
     this._orderService = orderService;
     this._orderProcessingService = orderProcessingService;
     this._EmiPaymentSettings = EmiPaymentSettings;
     this._localizationService = localizationService;
     this._paymentSettings = paymentSettings;
     
 }
 public PaymentAliPayController(ISettingService settingService, 
     IPaymentService paymentService, IOrderService orderService, 
     IOrderProcessingService orderProcessingService, 
     ILogger logger, IWebHelper webHelper,
     AliPayPaymentSettings aliPayPaymentSettings,
     PaymentSettings paymentSettings)
 {
     this._settingService = settingService;
     this._paymentService = paymentService;
     this._orderService = orderService;
     this._orderProcessingService = orderProcessingService;
     this._logger = logger;
     this._webHelper = webHelper;
     this._aliPayPaymentSettings = aliPayPaymentSettings;
     this._paymentSettings = paymentSettings;
 }
 public PaymentPayPalStandardController(ISettingService settingService, 
     IPaymentService paymentService, IOrderService orderService,
     IOrderProcessingService orderProcessingService,
     ILogger logger, IWebHelper webHelper,
     PayPalStandardPaymentSettings paypalStandardPaymentSettings,
     PaymentSettings paymentSettings)
 {
     this._settingService = settingService;
     this._paymentService = paymentService;
     this._orderService = orderService;
     this._orderProcessingService = orderProcessingService;
     this._logger = logger;
     this._webHelper = webHelper;
     this._paypalStandardPaymentSettings = paypalStandardPaymentSettings;
     this._paymentSettings = paymentSettings;
 }
 public PaymentGoogleCheckoutController(ISettingService settingService, 
     IPaymentService paymentService, IOrderProcessingService orderProcessingService, 
     IWebHelper webHelper, OrderSettings orderSettings, IWorkContext workContext,
     CurrencySettings currencySettings, ICurrencyService currencyService,
     PaymentSettings paymentSettings)
 {
     this._settingService = settingService;
     this._paymentService = paymentService;
     this._orderProcessingService = orderProcessingService;
     this._webHelper = webHelper;
     this._orderSettings = orderSettings;
     this._workContext = workContext;
     this._currencySettings = currencySettings;
     this._currencyService = currencyService;
     this._paymentSettings = paymentSettings;
 }
 public PaymentChinabankController(ISettingService settingService, 
     IPaymentService paymentService, IOrderService orderService, 
     IOrderProcessingService orderProcessingService, 
     ILogger logger, IWebHelper webHelper,
     ChinabankPaymentSettings chinabankPaymentSettings,
     PaymentSettings paymentSettings)
 {
     this._settingService = settingService;
     this._paymentService = paymentService;
     this._orderService = orderService;
     this._orderProcessingService = orderProcessingService;
     this._logger = logger;
     this._webHelper = webHelper;
     this._chinabankPaymentSettings = chinabankPaymentSettings;
     this._paymentSettings = paymentSettings;
 }
 public SagePayServerPaymentProcessor(SagePayServerPaymentSettings sagePayServerPaymentSettings,
     ISettingService settingService, ICurrencyService currencyService, IOrderProcessingService orderProcessingService,
     CurrencySettings currencySettings, IWebHelper webHelper, IWorkContext workContext,
     StoreInformationSettings storeInformationSettings, SagePayServerTransactionObjectContext context,
     ISagePayServerTransactionService sagePayServerTransactionService)
 {
     this._context = context;
     this._sagePayServerPaymentSettings = sagePayServerPaymentSettings;
     this._settingService = settingService;
     this._currencyService = currencyService;
     this._orderProcessingService = orderProcessingService;
     this._currencySettings = currencySettings;
     this._webHelper = webHelper;
     this._workContext = workContext;
     this._storeInformationSettings = storeInformationSettings;
     this._sagePayServerTransactionService = sagePayServerTransactionService;
 }
		public PaymentPayPalStandardController(IWorkContext workContext,
			 IStoreService storeService,
			 ISettingService settingService,
			 IPaymentService paymentService,
			 IOrderService orderService,
			 IOrderProcessingService orderProcessingService,
			 ILocalizationService localizationService,
			 IStoreContext storeContext,
			 ILogger logger,
			 IWebHelper webHelper,
			 PaymentSettings paymentSettings,
			 PayPalStandardPaymentSettings payPalStandardPaymentSettings,
			 IGenericAttributeService genericAttributeService,
			 HttpContextBase httpContext,
			 OrderSettings orderSettings,
			 ICurrencyService currencyService,
			 IPriceFormatter priceFormatter,
			 IPaypalStandardOrderProcessingService payPalOrderProcessingService,
			 IOrderTotalCalculationService orderTotalCalculationService,
			 ITempOrder tempOrderService
			)
		{
			this._workContext = workContext;
			this._storeService = storeService;
			this._settingService = settingService;
			this._paymentService = paymentService;
			this._orderService = orderService;
			this._orderProcessingService = orderProcessingService;
			this._localizationService = localizationService;
			this._storeContext = storeContext;
			this._logger = logger;
			this._webHelper = webHelper;
			this._paymentSettings = paymentSettings;
			this._payPalStandardPaymentSettings = payPalStandardPaymentSettings;
			this._genericAttributeService = genericAttributeService;
			this._httpContext = httpContext;
			this._orderSettings = orderSettings;
			this._currencyService = currencyService;
			this._priceFormatter = priceFormatter;
			this._payPalOrderProcessingService = payPalOrderProcessingService;
			this._orderTotalCalculationService = orderTotalCalculationService;
			this._tempOrderService = tempOrderService;
		}
 public PaymentPaymentExpressController(IWorkContext workContext,
     IStoreService storeService, 
     ISettingService settingService, 
     IPaymentService paymentService, 
     IOrderService orderService, 
     IOrderProcessingService orderProcessingService, 
     ILogger logger, IWebHelper webHelper,
     PaymentSettings paymentSettings)
 {
     this._workContext = workContext;
     this._storeService = storeService;
     this._settingService = settingService;
     this._paymentService = paymentService;
     this._orderService = orderService;
     this._orderProcessingService = orderProcessingService;
     this._logger = logger;
     this._webHelper = webHelper;
     this._paymentSettings = paymentSettings;
 }
		public AmazonPayService(
			IAmazonPayApi api,
			HttpContextBase httpContext,
			ICommonServices services,
			IPaymentService paymentService,
			IGenericAttributeService genericAttributeService,
			IOrderTotalCalculationService orderTotalCalculationService,
			ICurrencyService currencyService,
			CurrencySettings currencySettings,
			ICustomerService customerService,
			IStoreService storeService,
			IPriceFormatter priceFormatter,
			OrderSettings orderSettings,
			RewardPointsSettings rewardPointsSettings,
			IOrderService orderService,
			IRepository<Order> orderRepository,
			IOrderProcessingService orderProcessingService,
			IScheduleTaskService scheduleTaskService,
			IWorkflowMessageService workflowMessageService)
		{
			_api = api;
			_httpContext = httpContext;
			_services = services;
			_paymentService = paymentService;
			_genericAttributeService = genericAttributeService;
			_orderTotalCalculationService = orderTotalCalculationService;
			_currencyService = currencyService;
			_currencySettings = currencySettings;
			_customerService = customerService;
			_storeService = storeService;
			_priceFormatter = priceFormatter;
			_orderSettings = orderSettings;
			_rewardPointsSettings = rewardPointsSettings;
			_orderService = orderService;
			_orderRepository = orderRepository;
			_orderProcessingService = orderProcessingService;
			_scheduleTaskService = scheduleTaskService;
			_workflowMessageService = workflowMessageService;

			T = NullLocalizer.Instance;
			Logger = NullLogger.Instance;
		}
 public PaymentAliPayController(ISettingService settingService,
                                ICustomerService customerService,
                                IPaymentService paymentService,
                                IOrderService orderService,
                                IOrderProcessingService orderProcessingService,
                                ILogger logger,
                                ILocalizationService localizationService,
                                AliPayPaymentSettings aliPayPaymentSettings,
                                PaymentSettings paymentSettings)
 {
     this._customerService        = customerService;
     this._settingService         = settingService;
     this._paymentService         = paymentService;
     this._orderService           = orderService;
     this._orderProcessingService = orderProcessingService;
     this._logger = logger;
     this._localizationService   = localizationService;
     this._aliPayPaymentSettings = aliPayPaymentSettings;
     this._paymentSettings       = paymentSettings;
 }
 public PaymentG2APayController(ILocalizationService localizationService,
                                ILogger logger,
                                IOrderProcessingService orderProcessingService,
                                IOrderService orderService,
                                ISettingService settingService,
                                IStoreService storeService,
                                IWebHelper webHelper,
                                IWorkContext workContext,
                                IPermissionService permissionService)
 {
     this._localizationService = localizationService;
     this._logger = logger;
     this._orderProcessingService = orderProcessingService;
     this._orderService           = orderService;
     this._settingService         = settingService;
     this._storeService           = storeService;
     this._webHelper         = webHelper;
     this._workContext       = workContext;
     this._permissionService = permissionService;
 }
Exemple #33
0
 public OrderController(IOrderModelFactory orderModelFactory,
                        IOrderService orderService,
                        IShipmentService shipmentService,
                        IWorkContext workContext,
                        IOrderProcessingService orderProcessingService,
                        IPaymentService paymentService,
                        IPdfService pdfService,
                        IWebHelper webHelper,
                        RewardPointsSettings rewardPointsSettings)
 {
     this._orderModelFactory      = orderModelFactory;
     this._orderService           = orderService;
     this._shipmentService        = shipmentService;
     this._workContext            = workContext;
     this._orderProcessingService = orderProcessingService;
     this._paymentService         = paymentService;
     this._pdfService             = pdfService;
     this._webHelper            = webHelper;
     this._rewardPointsSettings = rewardPointsSettings;
 }
 public PayPalExpressController(
     IPaymentService paymentService,
     IOrderService orderService,
     IOrderProcessingService orderProcessingService,
     OrderSettings orderSettings,
     ICurrencyService currencyService,
     IOrderTotalCalculationService orderTotalCalculationService,
     ICustomerService customerService,
     IGenericAttributeService genericAttributeService) : base(
         PayPalExpressProvider.SystemName,
         paymentService,
         orderService,
         orderProcessingService)
 {
     _orderSettings   = orderSettings;
     _currencyService = currencyService;
     _orderTotalCalculationService = orderTotalCalculationService;
     _customerService         = customerService;
     _genericAttributeService = genericAttributeService;
 }
Exemple #35
0
 public PaymentWeiXinPayController(ISettingService settingService,
                                   IPaymentService paymentService, IOrderService orderService,
                                   IOrderProcessingService orderProcessingService,
                                   ILogger logger, IWebHelper webHelper,
                                   WeiXinPayPaymentSettings weixinPayPaymentSettings,
                                   PaymentSettings paymentSettings,
                                   IWorkContext workContext,
                                   IStoreContext storeContext)
 {
     this._settingService         = settingService;
     this._paymentService         = paymentService;
     this._orderService           = orderService;
     this._orderProcessingService = orderProcessingService;
     this._logger    = logger;
     this._webHelper = webHelper;
     this._weixinPayPaymentSettings = weixinPayPaymentSettings;
     this._paymentSettings          = paymentSettings;
     this._workContext  = workContext;
     this._storeContext = storeContext;
 }
Exemple #36
0
 public PaymentPayPalDirectController(ILocalizationService localizationService,
                                      ILogger logger,
                                      IOrderProcessingService orderProcessingService,
                                      IOrderService orderService,
                                      IPermissionService permissionService,
                                      ISettingService settingService,
                                      IStoreContext storeContext,
                                      IStoreService storeService,
                                      IWebHelper webHelper)
 {
     this._localizationService = localizationService;
     this._logger = logger;
     this._orderProcessingService = orderProcessingService;
     this._orderService           = orderService;
     this._permissionService      = permissionService;
     this._settingService         = settingService;
     this._storeContext           = storeContext;
     this._storeService           = storeService;
     this._webHelper = webHelper;
 }
Exemple #37
0
 public PaymentPayPalExpressCheckoutController(IOrderProcessingService orderProcessingService,
                                               IPayPalExpressCheckoutConfirmOrderService payPalExpressCheckoutConfirmOrderService,
                                               IPayPalExpressCheckoutPlaceOrderService payPalExpressCheckoutPlaceOrderService,
                                               IPayPalExpressCheckoutService payPalExpressCheckoutService,
                                               IPayPalExpressCheckoutShippingMethodService payPalExpressCheckoutShippingMethodService,
                                               IPayPalIPNService payPalIPNService,
                                               IPayPalRedirectionService payPalRedirectionService,
                                               ISettingService settingService,
                                               PayPalExpressCheckoutPaymentSettings payPalExpressCheckoutPaymentSettings)
 {
     _orderProcessingService = orderProcessingService;
     _payPalExpressCheckoutConfirmOrderService   = payPalExpressCheckoutConfirmOrderService;
     _payPalExpressCheckoutPlaceOrderService     = payPalExpressCheckoutPlaceOrderService;
     _payPalExpressCheckoutService               = payPalExpressCheckoutService;
     _payPalExpressCheckoutShippingMethodService = payPalExpressCheckoutShippingMethodService;
     _payPalIPNService                     = payPalIPNService;
     _payPalRedirectionService             = payPalRedirectionService;
     _settingService                       = settingService;
     _payPalExpressCheckoutPaymentSettings = payPalExpressCheckoutPaymentSettings;
 }
Exemple #38
0
 public PaymentPrivat24Controller(ISettingService settingService,
                                  IPaymentService paymentService,
                                  IOrderProcessingService orderProcessingService,
                                  Privat24PaymentSettings privat24PaymentSettings,
                                  PaymentSettings paymentSettings,
                                  CurrencySettings currencySettings,
                                  ICurrencyService currencyService,
                                  IWorkContext workContext,
                                  OrderSettings orderSettings)
 {
     _settingService         = settingService;
     _paymentService         = paymentService;
     _orderProcessingService = orderProcessingService;
     _p24PaymentSettings     = privat24PaymentSettings;
     _paymentSettings        = paymentSettings;
     _currencySettings       = currencySettings;
     _currencyService        = currencyService;
     _workContext            = workContext;
     _orderSettings          = orderSettings;
 }
Exemple #39
0
 public PayPalExpressCheckoutPlaceOrderService(HttpSessionStateBase session,
                                               IPayPalExpressCheckoutService payPalExpressCheckoutService,
                                               IWorkContext workContext,
                                               ILocalizationService localizationService,
                                               IStoreContext storeContext,
                                               IOrderProcessingService orderProcessingService,
                                               IPaymentService paymentService,
                                               IWebHelper webHelper,
                                               ILogger logger)
 {
     _session = session;
     _payPalExpressCheckoutService = payPalExpressCheckoutService;
     _workContext            = workContext;
     _localizationService    = localizationService;
     _storeContext           = storeContext;
     _orderProcessingService = orderProcessingService;
     _paymentService         = paymentService;
     _webHelper = webHelper;
     _logger    = logger;
 }
 public PaymentMonerisController(ISettingService settingService,
                                 IPaymentService paymentService,
                                 IOrderService orderService,
                                 IOrderProcessingService orderProcessingService,
                                 ILocalizationService localizationService,
                                 MonerisPaymentSettings monerisPaymentSettings,
                                 PaymentSettings paymentSettings,
                                 IWebHelper webHelper,
                                 IPermissionService permissionService)
 {
     this._settingService         = settingService;
     this._paymentService         = paymentService;
     this._orderService           = orderService;
     this._orderProcessingService = orderProcessingService;
     this._localizationService    = localizationService;
     this._monerisPaymentSettings = monerisPaymentSettings;
     this._paymentSettings        = paymentSettings;
     this._webHelper         = webHelper;
     this._permissionService = permissionService;
 }
 public PaymentPayGateController(IWorkContext workContext,
                                 IStoreService storeService,
                                 ISettingService settingService,
                                 IOrderService orderService,
                                 IOrderProcessingService orderProcessingService,
                                 ILocalizationService localizationService,
                                 IPermissionService permissionService,
                                 ILogger logger,
                                 PayGatePaymentSettings payGatePaymentSettings)
 {
     this._workContext            = workContext;
     this._storeService           = storeService;
     this._settingService         = settingService;
     this._orderService           = orderService;
     this._orderProcessingService = orderProcessingService;
     this._localizationService    = localizationService;
     this._permissionService      = permissionService;
     this._payGatePaymentSettings = payGatePaymentSettings;
     this._logger = logger;
 }
 public PaymentIpayDoubleEightController(IGenericAttributeService genericAttributeService,
                                         IOrderProcessingService orderProcessingService,
                                         IOrderService orderService,
                                         IPermissionService permissionService,
                                         ILocalizationService localizationService,
                                         ILogger logger,
                                         INotificationService notificationService,
                                         ISettingService settingService,
                                         IStoreContext storeContext)
 {
     _genericAttributeService = genericAttributeService;
     _orderProcessingService  = orderProcessingService;
     _orderService            = orderService;
     _permissionService       = permissionService;
     _localizationService     = localizationService;
     _logger = logger;
     _notificationService = notificationService;
     _settingService      = settingService;
     _storeContext        = storeContext;
 }
 public PayPalExpressCheckoutPlaceOrderService(IHttpContextAccessor httpContextAccessor,
                                               IWorkContext workContext,
                                               ILocalizationService localizationService,
                                               IStoreContext storeContext,
                                               IOrderProcessingService orderProcessingService,
                                               IPaymentService paymentService,
                                               IWebHelper webHelper,
                                               ILogger logger,
                                               PayPalExpressCheckoutService payPalExpressCheckoutService)
 {
     _session                = httpContextAccessor.HttpContext.Session;
     _workContext            = workContext;
     _localizationService    = localizationService;
     _storeContext           = storeContext;
     _orderProcessingService = orderProcessingService;
     _paymentService         = paymentService;
     _webHelper              = webHelper;
     _logger = logger;
     _payPalExpressCheckoutService = payPalExpressCheckoutService;
 }
Exemple #44
0
 public CheckoutController(IWorkContext workContext, ICustomerService customerService,
                           IAddressService addressService, IPostService postService
                           , IShoppingCartItemService shoppingCartItemService
                           , IPaymentMethodService paymentMethodService
                           , IGenericAttributeService genericAttributeService
                           , IShippingMethodService shippingMethodService
                           , IOrderService orderService
                           , IOrderProcessingService orderProcessingService)
 {
     _workContext             = workContext;
     _customerService         = customerService;
     _addressService          = addressService;
     _postService             = postService;
     _shoppingCartItemService = shoppingCartItemService;
     _paymentMethodService    = paymentMethodService;
     _genericAttributeService = genericAttributeService;
     _shippingMethodService   = shippingMethodService;
     _orderService            = orderService;
     _orderProcessingService  = orderProcessingService;
 }
 public PaymentPayPalDirectController(IWorkContext workContext,
                                      IStoreService storeService,
                                      ISettingService settingService,
                                      IPaymentService paymentService,
                                      IOrderService orderService,
                                      IOrderProcessingService orderProcessingService,
                                      ILogger logger,
                                      PaymentSettings paymentSettings,
                                      ILocalizationService localizationService)
 {
     this._workContext            = workContext;
     this._storeService           = storeService;
     this._settingService         = settingService;
     this._paymentService         = paymentService;
     this._orderService           = orderService;
     this._orderProcessingService = orderProcessingService;
     this._logger              = logger;
     this._paymentSettings     = paymentSettings;
     this._localizationService = localizationService;
 }
Exemple #46
0
 public ShipmentController(
     IShipmentViewModelService shipmentViewModelService,
     IOrderService orderService,
     IOrderProcessingService orderProcessingService,
     ILocalizationService localizationService,
     IWorkContext workContext,
     IPdfService pdfService,
     IProductService productService,
     IShipmentService shipmentService,
     IDateTimeHelper dateTimeHelper)
 {
     _shipmentViewModelService = shipmentViewModelService;
     _orderService             = orderService;
     _orderProcessingService   = orderProcessingService;
     _localizationService      = localizationService;
     _workContext     = workContext;
     _pdfService      = pdfService;
     _productService  = productService;
     _shipmentService = shipmentService;
     _dateTimeHelper  = dateTimeHelper;
 }
Exemple #47
0
 public PaymentPaystackController(
     IOrderProcessingService orderProcessingService,
     IOrderService orderService,
     IPermissionService permissionService,
     ILocalizationService localizationService,
     INotificationService notificationService,
     ISettingService settingService,
     IStoreContext storeContext,
     IWebHelper webHelper,
     IWorkContext workContext)
 {
     _orderProcessingService = orderProcessingService;
     _orderService           = orderService;
     _permissionService      = permissionService;
     _localizationService    = localizationService;
     _notificationService    = notificationService;
     _settingService         = settingService;
     _storeContext           = storeContext;
     _webHelper   = webHelper;
     _workContext = workContext;
 }
 public PaymentPayuController(ISettingService settingService,
                              IPaymentService paymentService, IOrderService orderService,
                              IOrderProcessingService orderProcessingService,
                              ILocalizationService localizationService,
                              PayuPaymentSettings PayuPaymentSettings,
                              PaymentSettings paymentSettings,
                              IWorkContext workContext,
                              IStoreContext storeContext, IEmailSender emailSender,
                              IEmailAccountService emailAccountService, EmailAccountSettings emailAccountSettings)
 {
     this._settingService         = settingService;
     this._paymentService         = paymentService;
     this._orderService           = orderService;
     this._orderProcessingService = orderProcessingService;
     this._PayuPaymentSettings    = PayuPaymentSettings;
     this._localizationService    = localizationService;
     this._paymentSettings        = paymentSettings;
     this._emailSender            = emailSender;
     this._emailAccountService    = emailAccountService;
     this._emailAccountSettings   = emailAccountSettings;
 }
        public PaymentPayPalStandardController(ISettingService settingService,
                                               IPaymentService paymentService, IOrderService orderService,
                                               IOrderProcessingService orderProcessingService,
                                               IStoreContext storeContext,
                                               IWorkContext workContext,
                                               IWebHelper webHelper,
                                               PayPalStandardPaymentSettings paypalStandardPaymentSettings,
                                               PaymentSettings paymentSettings)
        {
            this._settingService         = settingService;
            this._paymentService         = paymentService;
            this._orderService           = orderService;
            this._orderProcessingService = orderProcessingService;
            this._storeContext           = storeContext;
            this._workContext            = workContext;
            this._webHelper = webHelper;
            this._paypalStandardPaymentSettings = paypalStandardPaymentSettings;
            this._paymentSettings = paymentSettings;

            _helper = new PluginHelperBase("Payments.PayPalStandard");
        }
Exemple #50
0
 public PaymentUnitellerController(IWorkContext workContext,
                                   IStoreService storeService,
                                   ISettingService settingService,
                                   IPaymentService paymentService,
                                   IOrderService orderService,
                                   IOrderProcessingService orderProcessingService,
                                   ILogger logger,
                                   PaymentSettings paymentSettings,
                                   ILocalizationService localizationService, IWebHelper webHelper)
 {
     this._workContext            = workContext;
     this._storeService           = storeService;
     this._settingService         = settingService;
     this._paymentService         = paymentService;
     this._orderService           = orderService;
     this._orderProcessingService = orderProcessingService;
     this._logger              = logger;
     this._paymentSettings     = paymentSettings;
     this._localizationService = localizationService;
     this._webHelper           = webHelper;
 }
Exemple #51
0
 public OpenPayPaymentController(
     OpenPayApi openPayApi,
     OpenPayService openPayService,
     OpenPayPaymentSettings openPayPaymentSettings,
     IPaymentPluginManager paymentPluginManager,
     IOrderService orderService,
     IOrderProcessingService orderProcessingService,
     INotificationService notificationService,
     ILocalizationService localizationService,
     ILogger logger)
 {
     _openPayApi             = openPayApi;
     _openPayService         = openPayService;
     _openPayPaymentSettings = openPayPaymentSettings;
     _paymentPluginManager   = paymentPluginManager;
     _orderService           = orderService;
     _orderProcessingService = orderProcessingService;
     _notificationService    = notificationService;
     _localizationService    = localizationService;
     _logger = logger;
 }
 /// <summary>
 ///
 /// </summary>
 /// <param name="workContext"></param>
 /// <param name="storeService"></param>
 /// <param name="settingService"></param>
 /// <param name="orderService"></param>
 /// <param name="orderProcessingService"></param>
 /// <param name="logger"></param>
 /// <param name="webHelper"></param>
 /// <param name="productAttributeService"></param>
 /// <param name="mellatPaymentSettings"></param>
 public PaymentMellatController(IWorkContext workContext,
                                IStoreService storeService,
                                ISettingService settingService,
                                IOrderService orderService,
                                IOrderProcessingService orderProcessingService,
                                ILogger logger,
                                IWebHelper webHelper,
                                IProductAttributeService productAttributeService,
                                MellatPaymentSettings mellatPaymentSettings
                                )
 {
     this._workContext            = workContext;
     this._storeService           = storeService;
     this._settingService         = settingService;
     this._orderService           = orderService;
     this._orderProcessingService = orderProcessingService;
     this._logger    = logger;
     this._webHelper = webHelper;
     this._productAttributeService = productAttributeService;
     this._mellatPaymentSettings   = mellatPaymentSettings;
 }
 public OrderController(
     SmartDbContext db,
     IOrderProcessingService orderProcessingService,
     IPaymentService paymentService,
     IProductAttributeMaterializer productAttributeMaterializer,
     OrderHelper orderHelper,
     IDateTimeHelper dateTimeHelper,
     IProviderManager providerManager,
     ProductUrlHelper productUrlHelper,
     PdfSettings pdfSettings)
 {
     _db = db;
     _orderProcessingService       = orderProcessingService;
     _paymentService               = paymentService;
     _productAttributeMaterializer = productAttributeMaterializer;
     _orderHelper      = orderHelper;
     _dateTimeHelper   = dateTimeHelper;
     _providerManager  = providerManager;
     _productUrlHelper = productUrlHelper;
     _pdfSettings      = pdfSettings;
 }
Exemple #54
0
 public PaymentOgoneController(
     IWorkContext workContext,
     IStoreService storeService,
     ISettingService settingService,
     IPaymentService paymentService,
     PaymentSettings paymentSettings,
     IOrderProcessingService orderProcessingService,
     ILogger logger,
     IOrderService orderService,
     IEncryptionService encryptionService)
 {
     _workContext            = workContext;
     _storeService           = storeService;
     _settingService         = settingService;
     _orderProcessingService = orderProcessingService;
     _logger            = logger;
     _orderService      = orderService;
     _paymentService    = paymentService;
     _paymentSettings   = paymentSettings;
     _encryptionService = encryptionService;
 }
 public PayPalStandardController(ISettingService settingService,
                                 IPaymentService paymentService, IOrderService orderService,
                                 IOrderProcessingService orderProcessingService,
                                 IStoreContext storeContext,
                                 IWorkContext workContext,
                                 IWebHelper webHelper,
                                 PayPalStandardPaymentSettings paypalStandardSettings,
                                 PaymentSettings paymentSettings,
                                 ILocalizationService localizationService)
 {
     this._settingService         = settingService;
     this._paymentService         = paymentService;
     this._orderService           = orderService;
     this._orderProcessingService = orderProcessingService;
     this._storeContext           = storeContext;
     this._workContext            = workContext;
     this._webHelper = webHelper;
     this._paypalStandardSettings = paypalStandardSettings;
     this._paymentSettings        = paymentSettings;
     this._localizationService    = localizationService;
 }
Exemple #56
0
 public OrdersController(ISettingService settingService,
                         IOrderApiService orderApiService,
                         IJsonFieldsSerializer jsonFieldsSerializer,
                         IAclService aclService,
                         ICustomerService customerService,
                         IStoreMappingService storeMappingService,
                         IStoreService storeService,
                         IDiscountService discountService,
                         ICustomerActivityService customerActivityService,
                         ILocalizationService localizationService,
                         IProductService productService,
                         IFactory <Order> factory,
                         IOrderProcessingService orderProcessingService,
                         IOrderService orderService,
                         IShoppingCartService shoppingCartService,
                         IGenericAttributeService genericAttributeService,
                         IStoreContext storeContext,
                         IShippingService shippingService,
                         IPictureService pictureService,
                         IDTOHelper dtoHelper,
                         IProductAttributeConverter productAttributeConverter,
                         ICountryService countryService)
     : base(jsonFieldsSerializer, aclService, customerService, storeMappingService,
            storeService, discountService, customerActivityService, localizationService, pictureService)
 {
     _settingService            = settingService;
     _orderApiService           = orderApiService;
     _factory                   = factory;
     _orderProcessingService    = orderProcessingService;
     _orderService              = orderService;
     _shoppingCartService       = shoppingCartService;
     _genericAttributeService   = genericAttributeService;
     _storeContext              = storeContext;
     _shippingService           = shippingService;
     _dtoHelper                 = dtoHelper;
     _productService            = productService;
     _productAttributeConverter = productAttributeConverter;
     _countryService            = countryService;
     _localizationService       = localizationService;
 }
        public OrderController(IOrderService orderService,
                               IShipmentService shipmentService, IWorkContext workContext,
                               ICurrencyService currencyService, IPriceFormatter priceFormatter,
                               IOrderProcessingService orderProcessingService, IDateTimeHelper dateTimeHelper,
                               IPaymentService paymentService, ILocalizationService localizationService,
                               IPdfService pdfService, IShippingService shippingService,
                               ICountryService countryService, IWebHelper webHelper,
                               CatalogSettings catalogSettings, OrderSettings orderSettings,
                               TaxSettings taxSettings, PdfSettings pdfSettings,
                               ShippingSettings shippingSettings, AddressSettings addressSettings,
                               ICheckoutAttributeFormatter checkoutAttributeFormatter,
                               IProductService productService,
                               IProductAttributeFormatter productAttributeFormatter,
                               PluginMediator pluginMediator)
        {
            this._orderService           = orderService;
            this._shipmentService        = shipmentService;
            this._workContext            = workContext;
            this._currencyService        = currencyService;
            this._priceFormatter         = priceFormatter;
            this._orderProcessingService = orderProcessingService;
            this._dateTimeHelper         = dateTimeHelper;
            this._paymentService         = paymentService;
            this._localizationService    = localizationService;
            this._pdfService             = pdfService;
            this._shippingService        = shippingService;
            this._countryService         = countryService;
            this._webHelper                 = webHelper;
            this._productService            = productService;
            this._productAttributeFormatter = productAttributeFormatter;

            this._catalogSettings            = catalogSettings;
            this._orderSettings              = orderSettings;
            this._taxSettings                = taxSettings;
            this._pdfSettings                = pdfSettings;
            this._shippingSettings           = shippingSettings;
            this._addressSettings            = addressSettings;
            this._checkoutAttributeFormatter = checkoutAttributeFormatter;
            this._pluginMediator             = pluginMediator;
        }
        public PaymentPayPalPlusBrasilController(IWorkContext workContext,
                                                 IStoreService storeService,
                                                 ISettingService settingService,
                                                 IPaymentService paymentService,
                                                 IOrderService orderService,
                                                 IOrderProcessingService orderProcessingService,
                                                 ILogger logger,
                                                 PaymentSettings paymentSettings,
                                                 ILocalizationService localizationService,
                                                 IWebHelper webHelper,
                                                 ICustomerService customerService,
                                                 IStoreContext storeContext,
                                                 IOrderTotalCalculationService orderTotalCalculationService,
                                                 IAddressAttributeParser addressAttributeParser,
                                                 ITaxService taxService,
                                                 IPriceCalculationService priceCalculationService,
                                                 IPayPalPlusCustomerService payPalPlusCustomerService)
        {
            _workContext            = workContext;
            _storeService           = storeService;
            _settingService         = settingService;
            _paymentService         = paymentService;
            _orderService           = orderService;
            _orderProcessingService = orderProcessingService;
            _logger                       = logger;
            _paymentSettings              = paymentSettings;
            _localizationService          = localizationService;
            _webHelper                    = webHelper;
            _customerService              = customerService;
            _storeContext                 = storeContext;
            _orderTotalCalculationService = orderTotalCalculationService;
            _addressAttributeParser       = addressAttributeParser;
            _taxService                   = taxService;
            _priceCalculationService      = priceCalculationService;
            _payPalPlusCustomerService    = payPalPlusCustomerService;

            _jsonSettings = new JsonSerializerSettings {
                NullValueHandling = NullValueHandling.Ignore
            };
        }
 public OrderController(
     IOrderService orderService,
     IShipmentService shipmentService,
     ICurrencyService currencyService,
     IPriceFormatter priceFormatter,
     IOrderProcessingService orderProcessingService,
     IDateTimeHelper dateTimeHelper,
     IPaymentService paymentService,
     IPdfConverter pdfConverter,
     IShippingService shippingService,
     ICountryService countryService,
     ICheckoutAttributeFormatter checkoutAttributeFormatter,
     IStoreService storeService,
     IProductService productService,
     IProductAttributeFormatter productAttributeFormatter,
     IProductAttributeParser productAttributeParser,
     Lazy <IPictureService> pictureService,
     PluginMediator pluginMediator,
     ICommonServices services,
     IQuantityUnitService quantityUnitService)
 {
     this._orderService               = orderService;
     this._shipmentService            = shipmentService;
     this._currencyService            = currencyService;
     this._priceFormatter             = priceFormatter;
     this._orderProcessingService     = orderProcessingService;
     this._dateTimeHelper             = dateTimeHelper;
     this._paymentService             = paymentService;
     this._pdfConverter               = pdfConverter;
     this._shippingService            = shippingService;
     this._countryService             = countryService;
     this._productService             = productService;
     this._productAttributeFormatter  = productAttributeFormatter;
     this._productAttributeParser     = productAttributeParser;
     this._storeService               = storeService;
     this._checkoutAttributeFormatter = checkoutAttributeFormatter;
     this._pluginMediator             = pluginMediator;
     this._services            = services;
     this._quantityUnitService = quantityUnitService;
 }
Exemple #60
0
 public OrderController(ICustomerService customerService,
                        IOrderModelFactory orderModelFactory,
                        IOrderProcessingService orderProcessingService,
                        IOrderService orderService,
                        IPaymentService paymentService,
                        IPdfService pdfService,
                        IShipmentService shipmentService,
                        IWebHelper webHelper,
                        IWorkContext workContext,
                        RewardPointsSettings rewardPointsSettings)
 {
     _customerService        = customerService;
     _orderModelFactory      = orderModelFactory;
     _orderProcessingService = orderProcessingService;
     _orderService           = orderService;
     _paymentService         = paymentService;
     _pdfService             = pdfService;
     _shipmentService        = shipmentService;
     _webHelper            = webHelper;
     _workContext          = workContext;
     _rewardPointsSettings = rewardPointsSettings;
 }