aboutsummaryrefslogtreecommitdiffstats
path: root/src/IOL.VippsEcommerce/Models/Api/VippsPaymentActionResponse.cs
blob: 90b4389eeeb26efb29a041b91ec79a3a54edc617 (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
using System.Text.Json.Serialization;

namespace IOL.VippsEcommerce.Models.Api
{
    public class VippsPaymentActionResponse
    {
        /// <summary>
        /// Text which describes what instrument was used to complete the payment. Not included until a user has chosen and approved in the app.
        /// </summary>
        /// <value>Text which describes what instrument was used to complete the payment. Not included until a user has chosen and approved in the app.</value>
        [JsonPropertyName("paymentInstrument")]
        public string PaymentInstrument { 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>
        /// Gets or Sets TransactionInfo
        /// </summary>
        [JsonPropertyName("transactionInfo")]
        public TTransactionInfo TransactionInfo { get; set; }

        /// <summary>
        /// Gets or Sets TransactionSummary
        /// </summary>
        [JsonPropertyName("transactionSummary")]
        public TTransactionSummary TransactionSummary { get; set; }

    }
}