From e6ca7a484d9cc213fb00c34ebf7cb55ace892c04 Mon Sep 17 00:00:00 2001 From: ivarlovlie Date: Wed, 31 Mar 2021 18:00:22 +0200 Subject: Initial commit --- src/IOL.VippsEcommerce/Models/Api/TTransaction.cs | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 src/IOL.VippsEcommerce/Models/Api/TTransaction.cs (limited to 'src/IOL.VippsEcommerce/Models/Api/TTransaction.cs') 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 + { + /// + /// Amount in øre, if amount is 0 or not provided then full capture will be performed. 32 Bit Integer (2147483647) + /// + /// Amount in øre, if amount is 0 or not provided then full capture will be performed. 32 Bit Integer (2147483647) + [JsonPropertyName("amount")] + public int? Amount { get; set; } + + /// + /// Transaction text to be displayed in Vipps + /// + /// Transaction text to be displayed in Vipps + [JsonPropertyName("transactionText")] + public string TransactionText { get; set; } + } +} \ No newline at end of file -- cgit v1.3