From e6ca7a484d9cc213fb00c34ebf7cb55ace892c04 Mon Sep 17 00:00:00 2001 From: ivarlovlie Date: Wed, 31 Mar 2021 18:00:22 +0200 Subject: Initial commit --- .../Models/Api/TTransactionInfoInitiate.cs | 57 ++++++++++++++++++++++ 1 file changed, 57 insertions(+) create mode 100644 src/IOL.VippsEcommerce/Models/Api/TTransactionInfoInitiate.cs (limited to 'src/IOL.VippsEcommerce/Models/Api/TTransactionInfoInitiate.cs') diff --git a/src/IOL.VippsEcommerce/Models/Api/TTransactionInfoInitiate.cs b/src/IOL.VippsEcommerce/Models/Api/TTransactionInfoInitiate.cs new file mode 100644 index 0000000..7ad989b --- /dev/null +++ b/src/IOL.VippsEcommerce/Models/Api/TTransactionInfoInitiate.cs @@ -0,0 +1,57 @@ +using System; +using System.Text.Json.Serialization; + +namespace IOL.VippsEcommerce.Models.Api +{ + public class TTransactionInfoInitiate + { + /// + /// Amount in øre. 32 bit Integer (2147483647). Must be non-zero. + /// + /// Amount in øre. 32 bit Integer (2147483647). Must be non-zero. + [JsonPropertyName("amount")] + public int? Amount { get; set; } + + /// + /// Id which uniquely identifies a payment. Maximum length is 50 alphanumeric characters: a-z, A-Z, 0-9 and '-'. + /// + /// Id which uniquely identifies a payment. Maximum length is 50 alphanumeric characters: a-z, A-Z, 0-9 and '-'. + [JsonPropertyName("orderId")] + public string OrderId { get; set; } + + /// + /// ISO formatted date time string. + /// + /// ISO formatted date time string. + [JsonPropertyName("timeStamp")] + public string TimeStamp { get; set; } + + /// + /// Transaction text to be displayed in Vipps + /// + /// Transaction text to be displayed in Vipps + [JsonPropertyName("transactionText")] + public string TransactionText { get; set; } + + /// + /// Skips the landing page for whitelisted sale units. Requires a valid customerInfo.mobileNumber. + /// + /// Skips the landing page for whitelisted sale units. Requires a valid customerInfo.mobileNumber. + [JsonPropertyName("skipLandingPage")] + public bool? SkipLandingPage { get; set; } + + + /// + /// Gets or Sets AdditionalData + /// + [JsonPropertyName("additionalData")] + public TAdditionalTransactionData AdditionalData { get; set; } + + /// + /// Use the extended UX flow for express checkout which forces users to confirm their address and shipping choices + /// + /// Use the extended UX flow for express checkout which forces users to confirm their address and shipping choices + [JsonPropertyName("useExplicitCheckoutFlow")] + public bool? UseExplicitCheckoutFlow { get; set; } + } +} \ No newline at end of file -- cgit v1.3