Esempio n. 1
0
        public SetupCustomActions(ISetupLogger logger)
        {
            var settingsProviderHelper = new SmartShipmentsSettingsHelper();

            _settingsHelper = new SettingsSetupHelper(settingsProviderHelper, logger);
            _upsHelper      = new UpsSetupHelper(settingsProviderHelper, logger);
            _fedexHelper    = new FedexSetupHelper(settingsProviderHelper, logger);
        }
Esempio n. 2
0
        public UpsSetupHelper(SmartShipmentsSettingsHelper settingsProviderHelper, ISetupLogger logger)
        {
            _settingsProviderHelper = settingsProviderHelper;
            _logger = logger;

            _upsShipmentAppConfigDirectoryLocation = GetUpsRegistryApplicationConfigDirectoryLocation();
            _upsShipmentImpExpFilePath             = Path.Combine(GetUpsRegistryDataDirectoryLocation(), UPS_BASE_DATA_PATH, "UPSOUT.dat");
        }