From c7f504a9857cee998cfae30bcbb1cbdb6cfcd0c4 Mon Sep 17 00:00:00 2001 From: Richard Randak Date: Mon, 3 Aug 2020 14:42:36 +0200 Subject: [PATCH] Add Undefined value for CustomerType enum --- FortnoxAPILibrary/Entities/Customers/CustomerType.cs | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/FortnoxAPILibrary/Entities/Customers/CustomerType.cs b/FortnoxAPILibrary/Entities/Customers/CustomerType.cs index e00d9975..a4eb5146 100644 --- a/FortnoxAPILibrary/Entities/Customers/CustomerType.cs +++ b/FortnoxAPILibrary/Entities/Customers/CustomerType.cs @@ -1,3 +1,4 @@ +using System; using System.Runtime.Serialization; namespace FortnoxAPILibrary.Entities @@ -8,5 +9,11 @@ public enum CustomerType Private, [EnumMember(Value = "COMPANY")] Company, + /// + /// Only for retrieving legacy data. Do not use. + /// + [Obsolete] + [EnumMember(Value = "UNDEFINED")] + Undefined } } \ No newline at end of file