diff options
Diffstat (limited to 'src/IOL.VippsEcommerce/Models/Api/TTransactionInfoInitiate.cs')
| -rw-r--r-- | src/IOL.VippsEcommerce/Models/Api/TTransactionInfoInitiate.cs | 57 |
1 files changed, 57 insertions, 0 deletions
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 + { + /// <summary> + /// Amount in øre. 32 bit Integer (2147483647). Must be non-zero. + /// </summary> + /// <value>Amount in øre. 32 bit Integer (2147483647). Must be non-zero.</value> + [JsonPropertyName("amount")] + public int? Amount { get; set; } + + /// <summary> + /// Id which uniquely identifies a payment. Maximum length is 50 alphanumeric characters: a-z, A-Z, 0-9 and '-'. + /// </summary> + /// <value>Id which uniquely identifies a payment. Maximum length is 50 alphanumeric characters: a-z, A-Z, 0-9 and '-'.</value> + [JsonPropertyName("orderId")] + public string OrderId { get; set; } + + /// <summary> + /// ISO formatted date time string. + /// </summary> + /// <value>ISO formatted date time string.</value> + [JsonPropertyName("timeStamp")] + public string TimeStamp { 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> + /// Skips the landing page for whitelisted sale units. Requires a valid customerInfo.mobileNumber. + /// </summary> + /// <value>Skips the landing page for whitelisted sale units. Requires a valid customerInfo.mobileNumber.</value> + [JsonPropertyName("skipLandingPage")] + public bool? SkipLandingPage { get; set; } + + + /// <summary> + /// Gets or Sets AdditionalData + /// </summary> + [JsonPropertyName("additionalData")] + public TAdditionalTransactionData AdditionalData { get; set; } + + /// <summary> + /// Use the extended UX flow for express checkout which forces users to confirm their address and shipping choices + /// </summary> + /// <value>Use the extended UX flow for express checkout which forces users to confirm their address and shipping choices</value> + [JsonPropertyName("useExplicitCheckoutFlow")] + public bool? UseExplicitCheckoutFlow { get; set; } + } +}
\ No newline at end of file |
