summaryrefslogtreecommitdiffstats
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.cs21
1 files changed, 21 insertions, 0 deletions
diff --git a/src/IOL.VippsEcommerce/Models/Api/TTransaction.cs b/src/IOL.VippsEcommerce/Models/Api/TTransaction.cs
new file mode 100644
index 0000000..9e09758
--- /dev/null
+++ b/src/IOL.VippsEcommerce/Models/Api/TTransaction.cs
@@ -0,0 +1,21 @@
+using System.Text.Json.Serialization;
+
+namespace IOL.VippsEcommerce.Models.Api
+{
+ 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>
+ /// 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