From e6ca7a484d9cc213fb00c34ebf7cb55ace892c04 Mon Sep 17 00:00:00 2001 From: ivarlovlie Date: Wed, 31 Mar 2021 18:00:22 +0200 Subject: Initial commit --- .../Models/Api/VippsPaymentActionResponse.cs | 34 ++++++++++++++++++++++ 1 file changed, 34 insertions(+) create mode 100644 src/IOL.VippsEcommerce/Models/Api/VippsPaymentActionResponse.cs (limited to 'src/IOL.VippsEcommerce/Models/Api/VippsPaymentActionResponse.cs') diff --git a/src/IOL.VippsEcommerce/Models/Api/VippsPaymentActionResponse.cs b/src/IOL.VippsEcommerce/Models/Api/VippsPaymentActionResponse.cs new file mode 100644 index 0000000..90b4389 --- /dev/null +++ b/src/IOL.VippsEcommerce/Models/Api/VippsPaymentActionResponse.cs @@ -0,0 +1,34 @@ +using System.Text.Json.Serialization; + +namespace IOL.VippsEcommerce.Models.Api +{ + public class VippsPaymentActionResponse + { + /// + /// Text which describes what instrument was used to complete the payment. Not included until a user has chosen and approved in the app. + /// + /// Text which describes what instrument was used to complete the payment. Not included until a user has chosen and approved in the app. + [JsonPropertyName("paymentInstrument")] + public string PaymentInstrument { get; set; } + + /// + /// Id which uniquely identifies a payment. Maximum length is 50 alphanumeric characters: a-z, A-Z, 0-9 and '-'. + /// + /// Id which uniquely identifies a payment. Maximum length is 50 alphanumeric characters: a-z, A-Z, 0-9 and '-'. + [JsonPropertyName("orderId")] + public string OrderId { get; set; } + + /// + /// Gets or Sets TransactionInfo + /// + [JsonPropertyName("transactionInfo")] + public TTransactionInfo TransactionInfo { get; set; } + + /// + /// Gets or Sets TransactionSummary + /// + [JsonPropertyName("transactionSummary")] + public TTransactionSummary TransactionSummary { get; set; } + + } +} \ No newline at end of file -- cgit v1.3