/// <summary>
 /// Settings collected in StoreFront administration. Define required fields in <see cref="IPaymentMethodDescription.GetSettingsDescription"/>
 /// </summary>
 public void SetSettings(Dictionary<string, string> settings)
 {
     _settings = new Settings(settings);
 }
 /// <summary>
 /// Validates payment method configuration. PaymentMethod cannot be activated before settings are valid.
 /// </summary>
 /// <param name="portalLocale">Current user locale.</param>
 /// <param name="settings">Settings to validate.</param>
 /// <returns>List of error messages.</returns>
 public string[] ValidateSettings(string portalLocale, Dictionary<string, string> settings)
 {
     var s = new Settings(settings);
     return s.Validate();
 }