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 --- .../Models/Api/TTransactionSummary.cs | 67 +++++++++++----------- 1 file changed, 33 insertions(+), 34 deletions(-) (limited to 'src/IOL.VippsEcommerce/Models/Api/TTransactionSummary.cs') diff --git a/src/IOL.VippsEcommerce/Models/Api/TTransactionSummary.cs b/src/IOL.VippsEcommerce/Models/Api/TTransactionSummary.cs index 786bcaa..479c0dc 100644 --- a/src/IOL.VippsEcommerce/Models/Api/TTransactionSummary.cs +++ b/src/IOL.VippsEcommerce/Models/Api/TTransactionSummary.cs @@ -1,42 +1,41 @@ using System.Text.Json.Serialization; -namespace IOL.VippsEcommerce.Models.Api +namespace IOL.VippsEcommerce.Models.Api; + +public class TTransactionSummary { - public class TTransactionSummary - { - /// - /// Total amount captured - /// - /// Total amount captured - [JsonPropertyName("capturedAmount")] - public int? CapturedAmount { get; set; } + /// + /// Total amount captured + /// + /// Total amount captured + [JsonPropertyName("capturedAmount")] + public int? CapturedAmount { get; set; } - /// - /// Total refunded amount of the order - /// - /// Total refunded amount of the order - [JsonPropertyName("refundedAmount")] - public int? RefundedAmount { get; set; } + /// + /// Total refunded amount of the order + /// + /// Total refunded amount of the order + [JsonPropertyName("refundedAmount")] + public int? RefundedAmount { get; set; } - /// - /// Total remaining amount to capture - /// - /// Total remaining amount to capture - [JsonPropertyName("remainingAmountToCapture")] - public int? RemainingAmountToCapture { get; set; } + /// + /// Total remaining amount to capture + /// + /// Total remaining amount to capture + [JsonPropertyName("remainingAmountToCapture")] + public int? RemainingAmountToCapture { get; set; } - /// - /// Total remaining amount to refund - /// - /// Total remaining amount to refund - [JsonPropertyName("remainingAmountToRefund")] - public int? RemainingAmountToRefund { get; set; } + /// + /// Total remaining amount to refund + /// + /// Total remaining amount to refund + [JsonPropertyName("remainingAmountToRefund")] + public int? RemainingAmountToRefund { get; set; } - /// - /// Bank Identification Number, first 6 digit of card number - /// - /// Bank Identification Number, first 6 digit of card number - [JsonPropertyName("bankIdentificationNumber")] - public string BankIdentificationNumber { get; set; } - } + /// + /// Bank Identification Number, first 6 digit of card number + /// + /// Bank Identification Number, first 6 digit of card number + [JsonPropertyName("bankIdentificationNumber")] + public string BankIdentificationNumber { get; set; } } \ No newline at end of file -- cgit v1.3