aboutsummaryrefslogtreecommitdiffstats
path: root/src/IOL.VippsEcommerce/Models/Api/VippsPaymentActionResponse.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/VippsPaymentActionResponse.cs
downloaddotnet-vipps-ecommerce-e6ca7a484d9cc213fb00c34ebf7cb55ace892c04.tar.xz
dotnet-vipps-ecommerce-e6ca7a484d9cc213fb00c34ebf7cb55ace892c04.zip
Initial commit
Diffstat (limited to 'src/IOL.VippsEcommerce/Models/Api/VippsPaymentActionResponse.cs')
-rw-r--r--src/IOL.VippsEcommerce/Models/Api/VippsPaymentActionResponse.cs34
1 files changed, 34 insertions, 0 deletions
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
+ {
+ /// <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; }
+
+ }
+} \ No newline at end of file