public RussianPostComputationMethod(IMeasureService measureService,
     IShippingService shippingService, ISettingService settingService,
     RussianPostSettings RussianPostSettings)
 {
     this._shippingService = shippingService;
     this._settingService = settingService;
     this._RussianPostSettings = RussianPostSettings;
 }
        /// <summary>
        /// Install plugin
        /// </summary>
        public override void Install()
        {
            //settings
            var settings = new RussianPostSettings()
            {
                GatewayUrl = "http://test.postcalc.ru/",
            };
            _settingService.SaveSetting(settings);

            //locales
            this.AddOrUpdatePluginLocaleResource("Plugins.Shipping.RussianPost.Fields.GatewayUrl", "Gateway URL");
            this.AddOrUpdatePluginLocaleResource("Plugins.Shipping.RussianPost.Fields.GatewayUrl.Hint", "Specify gateway URL.");
            this.AddOrUpdatePluginLocaleResource("Plugins.Shipping.RussianPost.Fields.Email", "Shop owner email");
            this.AddOrUpdatePluginLocaleResource("Plugins.Shipping.RussianPost.Fields.Email.Hint", "Enter shop owner email.");
            this.AddOrUpdatePluginLocaleResource("Plugins.Shipping.RussianPost.Fields.Site", "Shop owner site url");
            this.AddOrUpdatePluginLocaleResource("Plugins.Shipping.RussianPost.Fields.Site.Hint", "Enter shop owner site url.");            
            base.Install();
        }