public ShippingMethodUIService(IKernel kernel, ShippingMethodSettings shippingMethodSettings)
 {
     _kernel = kernel;
     _enabledShippingMethods =
         shippingMethodSettings.GetEnabledMethods()
             .Select(type => _kernel.Get(type) as IShippingMethod)
             .ToHashSet();
 }
 public void UpdateSettings(ShippingMethodSettings settings)
 {
     _configurationProvider.SaveSettings(settings);
 }