summaryrefslogtreecommitdiffstats
path: root/src/IOL.VippsEcommerce/Models/Api/VippsInitiatePaymentResponse.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/VippsInitiatePaymentResponse.cs
downloaddotnet-vipps-ecommerce-e6ca7a484d9cc213fb00c34ebf7cb55ace892c04.tar.xz
dotnet-vipps-ecommerce-e6ca7a484d9cc213fb00c34ebf7cb55ace892c04.zip
Initial commit
Diffstat (limited to 'src/IOL.VippsEcommerce/Models/Api/VippsInitiatePaymentResponse.cs')
-rw-r--r--src/IOL.VippsEcommerce/Models/Api/VippsInitiatePaymentResponse.cs21
1 files changed, 21 insertions, 0 deletions
diff --git a/src/IOL.VippsEcommerce/Models/Api/VippsInitiatePaymentResponse.cs b/src/IOL.VippsEcommerce/Models/Api/VippsInitiatePaymentResponse.cs
new file mode 100644
index 0000000..471133a
--- /dev/null
+++ b/src/IOL.VippsEcommerce/Models/Api/VippsInitiatePaymentResponse.cs
@@ -0,0 +1,21 @@
+using System.Text.Json.Serialization;
+
+namespace IOL.VippsEcommerce.Models.Api
+{
+ public class VippsInitiatePaymentResponse
+ {
+ /// <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>
+ /// URL to redirect the user to Vipps landing page or a deeplink URL to open Vipps app, if &#x60;isApp&#x60; was set as true. The landing page will also redirect a user to the app if the user is using a mobile browser. This link will timeout after 5 minutes. This example is a shortened deeplink URL. The URL received fromn Vipps should not be changed, and the format may change without notice.
+ /// </summary>
+ /// <value>URL to redirect the user to Vipps landing page or a deeplink URL to open Vipps app, if &#x60;isApp&#x60; was set as true. The landing page will also redirect a user to the app if the user is using a mobile browser. This link will timeout after 5 minutes. This example is a shortened deeplink URL. The URL received fromn Vipps should not be changed, and the format may change without notice.</value>
+ [JsonPropertyName("url")]
+ public string Url { get; set; }
+ }
+} \ No newline at end of file