Пример #1
0
        public override void Install()
        {
            var settings = new GarantiPaymentSettings()
            {
            };

            _settingService.SaveSetting(settings);

            base.Install();
        }
Пример #2
0
 public GarantiPaymentProcessor(GarantiPaymentSettings garantiPaymentSettings,
                                ISettingService settingService, ICurrencyService currencyService,
                                CurrencySettings currencySettings, IWebHelper webHelper,
                                StoreInformationSettings storeInformationSettings,
                                ICustomerService customerService,
                                ILocalizationService localizationService,
                                IWorkContext workContext)
 {
     this._GarantiPaymentSettings = garantiPaymentSettings;
     this._settingService         = settingService;
     this._currencyService        = currencyService;
     this._currencySettings       = currencySettings;
     this._webHelper = webHelper;
     this._storeInformationSettings = storeInformationSettings;
     this._customerService          = customerService;
     this._localizationService      = localizationService;
     this._workContext = workContext;
 }