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/TTransactionInfo.cs | 19 +++++++++---------- 1 file changed, 9 insertions(+), 10 deletions(-) (limited to 'src/IOL.VippsEcommerce/Models/Api/TTransactionInfo.cs') diff --git a/src/IOL.VippsEcommerce/Models/Api/TTransactionInfo.cs b/src/IOL.VippsEcommerce/Models/Api/TTransactionInfo.cs index 30e62f9..9374fe3 100644 --- a/src/IOL.VippsEcommerce/Models/Api/TTransactionInfo.cs +++ b/src/IOL.VippsEcommerce/Models/Api/TTransactionInfo.cs @@ -1,15 +1,14 @@ using System.Text.Json.Serialization; using IOL.VippsEcommerce.Models.Api; -namespace IOL.VippsEcommerce.Models.Api +namespace IOL.VippsEcommerce.Models.Api; + +public class TTransactionInfo { - public class TTransactionInfo - { - /// - /// Status which gives the current state of the payment within Vipps. See the [API guide](https://github.com/vippsas/vipps-ecom-api/blob/master/vipps-ecom-api.md#responses-from-requests) for more information. - /// - /// Status which gives the current state of the payment within Vipps. See the [API guide](https://github.com/vippsas/vipps-ecom-api/blob/master/vipps-ecom-api.md#responses-from-requests) for more information. - [JsonPropertyName("status")] - public EStatusEnum Status { get; set; } - } + /// + /// Status which gives the current state of the payment within Vipps. See the [API guide](https://github.com/vippsas/vipps-ecom-api/blob/master/vipps-ecom-api.md#responses-from-requests) for more information. + /// + /// Status which gives the current state of the payment within Vipps. See the [API guide](https://github.com/vippsas/vipps-ecom-api/blob/master/vipps-ecom-api.md#responses-from-requests) for more information. + [JsonPropertyName("status")] + public EStatusEnum Status { get; set; } } \ No newline at end of file -- cgit v1.3