public ConfigurationModel(TBCBankCardSettings v)
 {
     ServiceURL         = v.ServiceURL;
     CertificatePath    = v.CertificatePath;
     SecretPass         = v.SecretPass;
     CurrencyCode       = v.CurrencyCode;
     EnableDebugLogging = v.EnableDebugLogging;
     PaymentDescription = v.PaymentDescription;
     RedirectURL        = v.RedirectURL;
 }
Esempio n. 2
0
 public TBCBankController(IWorkContext workContext,
                          IStoreService storeService,
                          ISettingService settingService,
                          ILocalizationService localizationService,
                          IOrderService orderService,
                          ILogger logger,
                          TBCBankCardSettings tbcPaymentSettings)
 {
     this._workContext         = workContext;
     this._storeService        = storeService;
     this._settingService      = settingService;
     this._localizationService = localizationService;
     this._orderService        = orderService;
     this._logger             = logger;
     this._TbcPaymentSettings = tbcPaymentSettings;
 }