aboutsummaryrefslogtreecommitdiffstats
path: root/src/IOL.VippsEcommerce/Models/Api/TTransaction.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/TTransaction.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/TTransaction.cs')
-rw-r--r--src/IOL.VippsEcommerce/Models/Api/TTransaction.cs31
1 files changed, 15 insertions, 16 deletions
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
- {
- /// <summary>
- /// Amount in øre, if amount is 0 or not provided then full capture will be performed. 32 Bit Integer (2147483647)
- /// </summary>
- /// <value>Amount in øre, if amount is 0 or not provided then full capture will be performed. 32 Bit Integer (2147483647)</value>
- [JsonPropertyName("amount")]
- public int? Amount { get; set; }
+ /// <summary>
+ /// Amount in øre, if amount is 0 or not provided then full capture will be performed. 32 Bit Integer (2147483647)
+ /// </summary>
+ /// <value>Amount in øre, if amount is 0 or not provided then full capture will be performed. 32 Bit Integer (2147483647)</value>
+ [JsonPropertyName("amount")]
+ public int? Amount { get; set; }
- /// <summary>
- /// Transaction text to be displayed in Vipps
- /// </summary>
- /// <value>Transaction text to be displayed in Vipps</value>
- [JsonPropertyName("transactionText")]
- public string TransactionText { get; set; }
- }
+ /// <summary>
+ /// Transaction text to be displayed in Vipps
+ /// </summary>
+ /// <value>Transaction text to be displayed in Vipps</value>
+ [JsonPropertyName("transactionText")]
+ public string TransactionText { get; set; }
} \ No newline at end of file