summaryrefslogtreecommitdiffstats
path: root/src/IOL.VippsEcommerce/Models/Api/TTransactionSummary.cs
diff options
context:
space:
mode:
authorivarlovlie <git@ivarlovlie.no>2021-03-31 18:00:22 +0200
committerivarlovlie <git@ivarlovlie.no>2021-03-31 18:00:22 +0200
commite6ca7a484d9cc213fb00c34ebf7cb55ace892c04 (patch)
treee885d823c224d55503286b1dab207fcc7c5c68d1 /src/IOL.VippsEcommerce/Models/Api/TTransactionSummary.cs
downloaddotnet-vipps-ecommerce-e6ca7a484d9cc213fb00c34ebf7cb55ace892c04.tar.xz
dotnet-vipps-ecommerce-e6ca7a484d9cc213fb00c34ebf7cb55ace892c04.zip
Initial commit
Diffstat (limited to 'src/IOL.VippsEcommerce/Models/Api/TTransactionSummary.cs')
-rw-r--r--src/IOL.VippsEcommerce/Models/Api/TTransactionSummary.cs42
1 files changed, 42 insertions, 0 deletions
diff --git a/src/IOL.VippsEcommerce/Models/Api/TTransactionSummary.cs b/src/IOL.VippsEcommerce/Models/Api/TTransactionSummary.cs
new file mode 100644
index 0000000..786bcaa
--- /dev/null
+++ b/src/IOL.VippsEcommerce/Models/Api/TTransactionSummary.cs
@@ -0,0 +1,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; }
+ }
+} \ No newline at end of file