summaryrefslogtreecommitdiffstats
path: root/src/IOL.VippsEcommerce/Models
diff options
context:
space:
mode:
authorivarlovlie <git@ivarlovlie.no>2021-03-31 19:29:49 +0200
committerivarlovlie <git@ivarlovlie.no>2021-03-31 19:29:49 +0200
commita537fc5ccd7c4e71b656deabf97669e99e3fac0d (patch)
tree21e279e4c2e936ac9dde1f1bb1691b96ee0fd53c /src/IOL.VippsEcommerce/Models
parentef72f8f3fe5a4399423d921edd1c182d663201aa (diff)
downloaddotnet-vipps-ecommerce-a537fc5ccd7c4e71b656deabf97669e99e3fac0d.tar.xz
dotnet-vipps-ecommerce-a537fc5ccd7c4e71b656deabf97669e99e3fac0d.zip
Name change: CredentialsCacheFilePath -> CacheDirectoryPath
Diffstat (limited to 'src/IOL.VippsEcommerce/Models')
-rw-r--r--src/IOL.VippsEcommerce/Models/VippsConfiguration.cs16
1 files changed, 10 insertions, 6 deletions
diff --git a/src/IOL.VippsEcommerce/Models/VippsConfiguration.cs b/src/IOL.VippsEcommerce/Models/VippsConfiguration.cs
index 252c877..e1b339e 100644
--- a/src/IOL.VippsEcommerce/Models/VippsConfiguration.cs
+++ b/src/IOL.VippsEcommerce/Models/VippsConfiguration.cs
@@ -8,7 +8,7 @@ namespace IOL.VippsEcommerce.Models
public class VippsConfiguration
{
/// <summary>
- /// Url for the vipps api.
+ /// Url for the vipps api. This property is required.
/// <example>https://apitest.vipps.no</example>
/// <example>https://api.vipps.no</example>
/// <para>Corresponding environment variable name: VIPPS_API_URL</para>
@@ -17,28 +17,32 @@ namespace IOL.VippsEcommerce.Models
public string ApiUrl { get; set; }
/// <summary>
- /// Client ID for the merchant (the "username")
+ /// Client ID for the merchant (the "username"). This property is required.
/// <para>Corresponding environment variable name: VIPPS_CLIENT_ID</para>
/// </summary>
[VippsConfigurationKeyName(VippsConfigurationKeyNames.VIPPS_CLIENT_ID)]
public string ClientId { get; set; }
/// <summary>
- /// Client Secret for the merchant (the "password")
+ /// Client Secret for the merchant (the "password"). This property is required.
/// <para>Corresponding environment variable name: VIPPS_CLIENT_SECRET</para>
/// </summary>
[VippsConfigurationKeyName(VippsConfigurationKeyNames.VIPPS_CLIENT_SECRET)]
public string ClientSecret { get; set; }
/// <summary>
- /// Primary subscription key for the API product. The primary subscription key take precedence over the secondary subscription key.
+ /// Primary subscription key for the API product.
+ /// <para>The primary subscription key take precedence over the secondary subscription key.</para>
+ /// <para>Either primary subscription key or secondary subscription key is required.</para>
/// <para>Corresponding environment variable name: VIPPS_SUBSCRIPTION_KEY_PRIMARY</para>
/// </summary>
[VippsConfigurationKeyName(VippsConfigurationKeyNames.VIPPS_SUBSCRIPTION_KEY_PRIMARY)]
public string PrimarySubscriptionKey { get; set; }
/// <summary>
- /// Secondary subscription key for the API product. The primary subscription key take precedence over the secondary subscription key.
+ /// Secondary subscription key for the API product.
+ /// <para>The primary subscription key take precedence over the secondary subscription key.</para>
+ /// <para>Either primary subscription key or secondary subscription key is required.</para>
/// <para>Corresponding environment variable name: VIPPS_SUBSCRIPTION_KEY_SECONDARY</para>
/// </summary>
[VippsConfigurationKeyName(VippsConfigurationKeyNames.VIPPS_SUBSCRIPTION_KEY_SECONDARY)]
@@ -84,7 +88,7 @@ namespace IOL.VippsEcommerce.Models
/// <para>Corresponding environment variable name: VIPPS_CACHE_PATH</para>
/// </summary>
[VippsConfigurationKeyName(VippsConfigurationKeyNames.VIPPS_CACHE_PATH)]
- public string CredentialsCacheFilePath { get; set; }
+ public string CacheDirectoryPath { get; set; }
/// <summary>
/// Optional key for AES encryption of the credential cache file.