aboutsummaryrefslogtreecommitdiffstats
path: root/src/IOL.VippsEcommerce/Models/Api/VippsPaymentActionResponse.cs
diff options
context:
space:
mode:
authorivarlovlie <git@ivarlovlie.no>2022-01-30 01:41:08 +0100
committerivarlovlie <git@ivarlovlie.no>2022-01-30 01:41:08 +0100
commit36afcdf0988e753ae2178fb8220b02f2c4d0b2b2 (patch)
treed27cb629cd53eeef6737ddc86915d51a9ac4b9c3 /src/IOL.VippsEcommerce/Models/Api/VippsPaymentActionResponse.cs
parentbbe0fb036a790b6a23a478d3f047add63b3b07a6 (diff)
downloaddotnet-vipps-ecommerce-36afcdf0988e753ae2178fb8220b02f2c4d0b2b2.tar.xz
dotnet-vipps-ecommerce-36afcdf0988e753ae2178fb8220b02f2c4d0b2b2.zip
refactor: Convert solution for file-scoped namespaces
Diffstat (limited to 'src/IOL.VippsEcommerce/Models/Api/VippsPaymentActionResponse.cs')
-rw-r--r--src/IOL.VippsEcommerce/Models/Api/VippsPaymentActionResponse.cs51
1 files changed, 25 insertions, 26 deletions
diff --git a/src/IOL.VippsEcommerce/Models/Api/VippsPaymentActionResponse.cs b/src/IOL.VippsEcommerce/Models/Api/VippsPaymentActionResponse.cs
index 90b4389..7f4f6f7 100644
--- a/src/IOL.VippsEcommerce/Models/Api/VippsPaymentActionResponse.cs
+++ b/src/IOL.VippsEcommerce/Models/Api/VippsPaymentActionResponse.cs
@@ -1,34 +1,33 @@
using System.Text.Json.Serialization;
-namespace IOL.VippsEcommerce.Models.Api
+namespace IOL.VippsEcommerce.Models.Api;
+
+public class VippsPaymentActionResponse
{
- 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>
+ /// 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>
+ /// 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 TransactionInfo
+ /// </summary>
+ [JsonPropertyName("transactionInfo")]
+ public TTransactionInfo TransactionInfo { get; set; }
- /// <summary>
- /// Gets or Sets TransactionSummary
- /// </summary>
- [JsonPropertyName("transactionSummary")]
- public TTransactionSummary TransactionSummary { get; set; }
+ /// <summary>
+ /// Gets or Sets TransactionSummary
+ /// </summary>
+ [JsonPropertyName("transactionSummary")]
+ public TTransactionSummary TransactionSummary { get; set; }
- }
} \ No newline at end of file