Esempio n. 1
0
        public ScrapGLSService(GLSSettings glsSettings)
        {
            _glsSettings = glsSettings;

            _JsonSerializerOptions = new JsonSerializerOptions();
            _JsonSerializerOptions.PropertyNameCaseInsensitive = true;
        }
 public GLSController(ILogger logger, GLSSettings glsSettings, ISettingService settingService, IGLSService glsService)
 {
     this._logger         = logger;
     this._glsSettings    = glsSettings;
     this._settingService = settingService;
     this._glsService     = glsService;
 }
Esempio n. 3
0
        public GLSComputationMethod(IWebHelper webHelper, ISettingService settingService, GLSSettings glsSettings, ILogger logger, IGLSService glsService, ICurrencyService currencyService, IWorkContext workContext, IOrderTotalCalculationService orderTotalCalculationService)
        {
            this._webHelper       = webHelper;
            this._settingService  = settingService;
            this._glsSettings     = glsSettings;
            this._logger          = logger;
            this._glsService      = glsService;
            this._currencyService = currencyService;
            this._workContext     = workContext;
            this._orderTotalCalculationService = orderTotalCalculationService;

            this._traceMessages = new StringBuilder();
        }
Esempio n. 4
0
 public GLSService(ILogger logger, GLSSettings glsSettings)
 {
     _logger      = logger;
     _glsSettings = glsSettings;
 }