aboutsummaryrefslogtreecommitdiffstats
path: root/src/IOL.VippsEcommerce/Models/Api/TAdditionalTransactionData.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/TAdditionalTransactionData.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/TAdditionalTransactionData.cs')
-rw-r--r--src/IOL.VippsEcommerce/Models/Api/TAdditionalTransactionData.cs67
1 files changed, 33 insertions, 34 deletions
diff --git a/src/IOL.VippsEcommerce/Models/Api/TAdditionalTransactionData.cs b/src/IOL.VippsEcommerce/Models/Api/TAdditionalTransactionData.cs
index 692c7be..8da5bb7 100644
--- a/src/IOL.VippsEcommerce/Models/Api/TAdditionalTransactionData.cs
+++ b/src/IOL.VippsEcommerce/Models/Api/TAdditionalTransactionData.cs
@@ -1,42 +1,41 @@
using System.Text.Json.Serialization;
-namespace IOL.VippsEcommerce.Models.Api
+namespace IOL.VippsEcommerce.Models.Api;
+
+public class TAdditionalTransactionData
{
- public class TAdditionalTransactionData
- {
- /// <summary>
- /// Passenger name, initials, and a title.
- /// </summary>
- /// <value>Passenger name, initials, and a title.</value>
- [JsonPropertyName("passengerName")]
- public string PassengerName { get; set; }
+ /// <summary>
+ /// Passenger name, initials, and a title.
+ /// </summary>
+ /// <value>Passenger name, initials, and a title.</value>
+ [JsonPropertyName("passengerName")]
+ public string PassengerName { get; set; }
- /// <summary>
- /// IATA 3-digit accounting code (PAX); numeric. It identifies the carrier. eg KLM &#x3D; 074
- /// </summary>
- /// <value>IATA 3-digit accounting code (PAX); numeric. It identifies the carrier. eg KLM &#x3D; 074</value>
- [JsonPropertyName("airlineCode")]
- public string AirlineCode { get; set; }
+ /// <summary>
+ /// IATA 3-digit accounting code (PAX); numeric. It identifies the carrier. eg KLM &#x3D; 074
+ /// </summary>
+ /// <value>IATA 3-digit accounting code (PAX); numeric. It identifies the carrier. eg KLM &#x3D; 074</value>
+ [JsonPropertyName("airlineCode")]
+ public string AirlineCode { get; set; }
- /// <summary>
- /// IATA 2-letter accounting code (PAX); alphabetical. It identifies the carrier. Eg KLM &#x3D; KL
- /// </summary>
- /// <value>IATA 2-letter accounting code (PAX); alphabetical. It identifies the carrier. Eg KLM &#x3D; KL</value>
- [JsonPropertyName("airlineDesignatorCode")]
- public string AirlineDesignatorCode { get; set; }
+ /// <summary>
+ /// IATA 2-letter accounting code (PAX); alphabetical. It identifies the carrier. Eg KLM &#x3D; KL
+ /// </summary>
+ /// <value>IATA 2-letter accounting code (PAX); alphabetical. It identifies the carrier. Eg KLM &#x3D; KL</value>
+ [JsonPropertyName("airlineDesignatorCode")]
+ public string AirlineDesignatorCode { get; set; }
- /// <summary>
- /// The ticket&#x27;s unique identifier.
- /// </summary>
- /// <value>The ticket&#x27;s unique identifier.</value>
- [JsonPropertyName("ticketNumber")]
- public string TicketNumber { get; set; }
+ /// <summary>
+ /// The ticket&#x27;s unique identifier.
+ /// </summary>
+ /// <value>The ticket&#x27;s unique identifier.</value>
+ [JsonPropertyName("ticketNumber")]
+ public string TicketNumber { get; set; }
- /// <summary>
- /// Reference number for the invoice, issued by the agency.
- /// </summary>
- /// <value>Reference number for the invoice, issued by the agency.</value>
- [JsonPropertyName("agencyInvoiceNumber")]
- public string AgencyInvoiceNumber { get; set; }
- }
+ /// <summary>
+ /// Reference number for the invoice, issued by the agency.
+ /// </summary>
+ /// <value>Reference number for the invoice, issued by the agency.</value>
+ [JsonPropertyName("agencyInvoiceNumber")]
+ public string AgencyInvoiceNumber { get; set; }
} \ No newline at end of file