aboutsummaryrefslogtreecommitdiffstats
path: root/src/IOL.VippsEcommerce/Models/Api/TTransactionSummary.cs
diff options
context:
space:
mode:
authorivarlovlie <git@ivarlovlie.no>2022-01-30 01:41:08 +0100
committerivarlovlie <git@ivarlovlie.no>2022-01-30 01:41:08 +0100
commit36afcdf0988e753ae2178fb8220b02f2c4d0b2b2 (patch)
treed27cb629cd53eeef6737ddc86915d51a9ac4b9c3 /src/IOL.VippsEcommerce/Models/Api/TTransactionSummary.cs
parentbbe0fb036a790b6a23a478d3f047add63b3b07a6 (diff)
downloaddotnet-vipps-ecommerce-36afcdf0988e753ae2178fb8220b02f2c4d0b2b2.tar.xz
dotnet-vipps-ecommerce-36afcdf0988e753ae2178fb8220b02f2c4d0b2b2.zip
refactor: Convert solution for file-scoped namespaces
Diffstat (limited to 'src/IOL.VippsEcommerce/Models/Api/TTransactionSummary.cs')
-rw-r--r--src/IOL.VippsEcommerce/Models/Api/TTransactionSummary.cs67
1 files changed, 33 insertions, 34 deletions
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
- {
- /// <summary>
- /// Total amount captured
- /// </summary>
- /// <value>Total amount captured</value>
- [JsonPropertyName("capturedAmount")]
- public int? CapturedAmount { get; set; }
+ /// <summary>
+ /// Total amount captured
+ /// </summary>
+ /// <value>Total amount captured</value>
+ [JsonPropertyName("capturedAmount")]
+ public int? CapturedAmount { get; set; }
- /// <summary>
- /// Total refunded amount of the order
- /// </summary>
- /// <value>Total refunded amount of the order</value>
- [JsonPropertyName("refundedAmount")]
- public int? RefundedAmount { get; set; }
+ /// <summary>
+ /// Total refunded amount of the order
+ /// </summary>
+ /// <value>Total refunded amount of the order</value>
+ [JsonPropertyName("refundedAmount")]
+ public int? RefundedAmount { get; set; }
- /// <summary>
- /// Total remaining amount to capture
- /// </summary>
- /// <value>Total remaining amount to capture</value>
- [JsonPropertyName("remainingAmountToCapture")]
- public int? RemainingAmountToCapture { get; set; }
+ /// <summary>
+ /// Total remaining amount to capture
+ /// </summary>
+ /// <value>Total remaining amount to capture</value>
+ [JsonPropertyName("remainingAmountToCapture")]
+ public int? RemainingAmountToCapture { get; set; }
- /// <summary>
- /// Total remaining amount to refund
- /// </summary>
- /// <value>Total remaining amount to refund</value>
- [JsonPropertyName("remainingAmountToRefund")]
- public int? RemainingAmountToRefund { get; set; }
+ /// <summary>
+ /// Total remaining amount to refund
+ /// </summary>
+ /// <value>Total remaining amount to refund</value>
+ [JsonPropertyName("remainingAmountToRefund")]
+ public int? RemainingAmountToRefund { get; set; }
- /// <summary>
- /// Bank Identification Number, first 6 digit of card number
- /// </summary>
- /// <value>Bank Identification Number, first 6 digit of card number</value>
- [JsonPropertyName("bankIdentificationNumber")]
- public string BankIdentificationNumber { get; set; }
- }
+ /// <summary>
+ /// Bank Identification Number, first 6 digit of card number
+ /// </summary>
+ /// <value>Bank Identification Number, first 6 digit of card number</value>
+ [JsonPropertyName("bankIdentificationNumber")]
+ public string BankIdentificationNumber { get; set; }
} \ No newline at end of file