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

namespace IOL.VippsEcommerce.Models.Api
{
    public class TTransactionSummary
    {
        /// <summary>
        /// Total amount captured
        /// </summary>
        /// <value>Total amount captured</value>
        [JsonPropertyName("capturedAmount")]
        public int? CapturedAmount { get; set; }

        /// <summary>
        /// Total refunded amount of the order
        /// </summary>
        /// <value>Total refunded amount of the order</value>
        [JsonPropertyName("refundedAmount")]
        public int? RefundedAmount { get; set; }

        /// <summary>
        /// Total remaining amount to capture
        /// </summary>
        /// <value>Total remaining amount to capture</value>
        [JsonPropertyName("remainingAmountToCapture")]
        public int? RemainingAmountToCapture { get; set; }

        /// <summary>
        /// Total remaining amount to refund
        /// </summary>
        /// <value>Total remaining amount to refund</value>
        [JsonPropertyName("remainingAmountToRefund")]
        public int? RemainingAmountToRefund { get; set; }

        /// <summary>
        /// Bank Identification Number, first 6 digit of card number
        /// </summary>
        /// <value>Bank Identification Number, first 6 digit of card number</value>
        [JsonPropertyName("bankIdentificationNumber")]
        public string BankIdentificationNumber { get; set; }
    }
}