From e6ca7a484d9cc213fb00c34ebf7cb55ace892c04 Mon Sep 17 00:00:00 2001 From: ivarlovlie Date: Wed, 31 Mar 2021 18:00:22 +0200 Subject: Initial commit --- .../Models/Api/EErrorGroupEnum.cs | 47 ++++++++++++++++++++++ 1 file changed, 47 insertions(+) create mode 100644 src/IOL.VippsEcommerce/Models/Api/EErrorGroupEnum.cs (limited to 'src/IOL.VippsEcommerce/Models/Api/EErrorGroupEnum.cs') diff --git a/src/IOL.VippsEcommerce/Models/Api/EErrorGroupEnum.cs b/src/IOL.VippsEcommerce/Models/Api/EErrorGroupEnum.cs new file mode 100644 index 0000000..8c6bf2f --- /dev/null +++ b/src/IOL.VippsEcommerce/Models/Api/EErrorGroupEnum.cs @@ -0,0 +1,47 @@ +using System.Text.Json.Serialization; + +namespace IOL.VippsEcommerce.Models.Api +{ + /// + /// The error group. See: https://github.com/vippsas/vipps-ecom-api/blob/master/vipps-ecom-api.md#error-groups + /// + public enum EErrorGroupEnum + { + /// + /// Enum Authentication for value: Authentication + /// + [JsonPropertyName("Authentication")] + AUTHENTICATION = 1, + + /// + /// Enum Payments for value: Payments + /// + [JsonPropertyName("Payments")] + PAYMENTS = 2, + + /// + /// Enum InvalidRequest for value: InvalidRequest + /// + [JsonPropertyName("InvalidRequest")] + INVALID_REQUEST = 3, + + /// + /// Enum VippsError for value: VippsError + /// + [JsonPropertyName("VippsError")] + VIPPS_ERROR = 4, + + /// + /// Enum User for value: User + /// + [JsonPropertyName("User")] + USER = 5, + + /// + /// Enum Merchant for value: Merchant + /// + [JsonPropertyName("Merchant")] + MERCHANT = 6 + + } +} \ No newline at end of file -- cgit v1.3