Exemple #1
0
 public PayInStorePaymentProcessor(PayInStorePaymentSettings payInStorePaymentSettings,
                                   ISettingService settingService,
                                   ILocalizationService localizationService,
                                   IOrderTotalCalculationService orderTotalCalculationService)
 {
     this._payInStorePaymentSettings    = payInStorePaymentSettings;
     this._settingService               = settingService;
     this._localizationService          = localizationService;
     this._orderTotalCalculationService = orderTotalCalculationService;
 }
        public PayInStorePaymentProcessor(PayInStorePaymentSettings payInStorePaymentSettings,
            ISettingService settingService,
            ILocalizationService localizationService,
			IOrderTotalCalculationService orderTotalCalculationService)
        {
            this._payInStorePaymentSettings = payInStorePaymentSettings;
            this._settingService = settingService;
            this._localizationService = localizationService;
			this._orderTotalCalculationService = orderTotalCalculationService;
        }
Exemple #3
0
        public override void Install()
        {
            var settings = new PayInStorePaymentSettings()
            {
                DescriptionText = "@Plugins.Payment.PayInStore.PaymentInfoDescription"
            };

            _settingService.SaveSetting(settings);

            _localizationService.ImportPluginResourcesFromXml(this.PluginDescriptor);

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

            _localizationService.ImportPluginResourcesFromXml(this.PluginDescriptor);
            
            base.Install();
        }