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; } } }