aboutsummaryrefslogtreecommitdiffstats
path: root/src/IOL.VippsEcommerce/Models/Api/TTransaction.cs
blob: 9e0975859e782684e0030e4d26b9b3af381f2bd6 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
using System.Text.Json.Serialization;

namespace IOL.VippsEcommerce.Models.Api
{
    public class TTransaction
    {
        /// <summary>
        /// Amount in øre, if amount is 0 or not provided then full capture will be performed. 32 Bit Integer (2147483647)
        /// </summary>
        /// <value>Amount in øre, if amount is 0 or not provided then full capture will be performed. 32 Bit Integer (2147483647)</value>
        [JsonPropertyName("amount")]
        public int? Amount { 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; }
    }
}