public InvoicePaymentProcessor(InvoicePaymentSettings invoicePaymentSettings,
                                ISettingService settingService,
                                IOrderTotalCalculationService orderTotalCalculationService,
                                ILocalizationService localizationService)
 {
     this._invoicePaymentSettings       = invoicePaymentSettings;
     this._settingService               = settingService;
     this._orderTotalCalculationService = orderTotalCalculationService;
     this._localizationService          = localizationService;
 }
        public InvoicePaymentProcessor(InvoicePaymentSettings invoicePaymentSettings,
            ISettingService settingService,
			IOrderTotalCalculationService orderTotalCalculationService,
            ILocalizationService localizationService)
        {
            this._invoicePaymentSettings = invoicePaymentSettings;
            this._settingService = settingService;
			this._orderTotalCalculationService = orderTotalCalculationService;
            this._localizationService = localizationService;
        }
        public override void Install()
        {
            var settings = new InvoicePaymentSettings()
            {
                DescriptionText = "@Plugins.Payment.Invoice.PaymentInfoDescription"
            };

            _settingService.SaveSetting(settings);

            _localizationService.ImportPluginResourcesFromXml(this.PluginDescriptor);

            base.Install();
        }
        public override void Install()
        {
            var settings = new InvoicePaymentSettings()
            {
                DescriptionText = "@Plugins.Payment.Invoice.PaymentInfoDescription"
            };
            _settingService.SaveSetting(settings);

            _localizationService.ImportPluginResourcesFromXml(this.PluginDescriptor);

            base.Install();
        }