aboutsummaryrefslogtreecommitdiffstats
path: root/src/IOL.VippsEcommerce/Models/Api/TTransactionInfoInitiate.cs
blob: 7ad989b2ff70fe434fa479be2bff9159d9c3ce5a (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
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 &#x27;-&#x27;.
        /// </summary>
        /// <value>Id which uniquely identifies a payment. Maximum length is 50 alphanumeric characters: a-z, A-Z, 0-9 and &#x27;-&#x27;.</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; }
    }
}