From 36afcdf0988e753ae2178fb8220b02f2c4d0b2b2 Mon Sep 17 00:00:00 2001 From: ivarlovlie Date: Sun, 30 Jan 2022 01:41:08 +0100 Subject: refactor: Convert solution for file-scoped namespaces --- src/IOL.VippsEcommerce/Models/Api/EStatusEnum.cs | 37 ++++++++++++------------ 1 file changed, 18 insertions(+), 19 deletions(-) (limited to 'src/IOL.VippsEcommerce/Models/Api/EStatusEnum.cs') diff --git a/src/IOL.VippsEcommerce/Models/Api/EStatusEnum.cs b/src/IOL.VippsEcommerce/Models/Api/EStatusEnum.cs index bf579a4..7a38412 100644 --- a/src/IOL.VippsEcommerce/Models/Api/EStatusEnum.cs +++ b/src/IOL.VippsEcommerce/Models/Api/EStatusEnum.cs @@ -1,25 +1,24 @@ using System.Text.Json.Serialization; -namespace IOL.VippsEcommerce.Models.Api +namespace IOL.VippsEcommerce.Models.Api; + +public enum EStatusEnum { - public enum EStatusEnum - { - /// - /// Enum Cancelled for value: Cancelled - /// - [JsonPropertyName("Cancelled")] - CANCELLED = 1, + /// + /// Enum Cancelled for value: Cancelled + /// + [JsonPropertyName("Cancelled")] + CANCELLED = 1, - /// - /// Enum Captured for value: Captured - /// - [JsonPropertyName("Captured")] - CAPTURED = 2, + /// + /// Enum Captured for value: Captured + /// + [JsonPropertyName("Captured")] + CAPTURED = 2, - /// - /// Enum Refund for value: Refund - /// - [JsonPropertyName("Refund")] - REFUND = 3 - } + /// + /// Enum Refund for value: Refund + /// + [JsonPropertyName("Refund")] + REFUND = 3 } \ No newline at end of file -- cgit v1.3