aboutsummaryrefslogtreecommitdiffstats
path: root/src/IOL.VippsEcommerce/Models/Api/TTransaction.cs
diff options
context:
space:
mode:
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