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/TTransaction.cs | 31 +++++++++++------------ 1 file changed, 15 insertions(+), 16 deletions(-) (limited to 'src/IOL.VippsEcommerce/Models/Api/TTransaction.cs') diff --git a/src/IOL.VippsEcommerce/Models/Api/TTransaction.cs b/src/IOL.VippsEcommerce/Models/Api/TTransaction.cs index 9e09758..ec56231 100644 --- a/src/IOL.VippsEcommerce/Models/Api/TTransaction.cs +++ b/src/IOL.VippsEcommerce/Models/Api/TTransaction.cs @@ -1,21 +1,20 @@ using System.Text.Json.Serialization; -namespace IOL.VippsEcommerce.Models.Api +namespace IOL.VippsEcommerce.Models.Api; + +public class TTransaction { - public class TTransaction - { - /// - /// Amount in øre, if amount is 0 or not provided then full capture will be performed. 32 Bit Integer (2147483647) - /// - /// Amount in øre, if amount is 0 or not provided then full capture will be performed. 32 Bit Integer (2147483647) - [JsonPropertyName("amount")] - public int? Amount { get; set; } + /// + /// Amount in øre, if amount is 0 or not provided then full capture will be performed. 32 Bit Integer (2147483647) + /// + /// Amount in øre, if amount is 0 or not provided then full capture will be performed. 32 Bit Integer (2147483647) + [JsonPropertyName("amount")] + public int? Amount { get; set; } - /// - /// Transaction text to be displayed in Vipps - /// - /// Transaction text to be displayed in Vipps - [JsonPropertyName("transactionText")] - public string TransactionText { get; set; } - } + /// + /// Transaction text to be displayed in Vipps + /// + /// Transaction text to be displayed in Vipps + [JsonPropertyName("transactionText")] + public string TransactionText { get; set; } } \ No newline at end of file -- cgit v1.3