From 36afcdf0988e753ae2178fb8220b02f2c4d0b2b2 Mon Sep 17 00:00:00 2001 From: ivarlovlie Date: Sun, 30 Jan 2022 01:41:08 +0100 Subject: refactor: Convert solution for file-scoped namespaces --- .../Models/Api/TAdditionalTransactionData.cs | 67 +++++++++++----------- 1 file changed, 33 insertions(+), 34 deletions(-) (limited to 'src/IOL.VippsEcommerce/Models/Api/TAdditionalTransactionData.cs') 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 - { - /// - /// Passenger name, initials, and a title. - /// - /// Passenger name, initials, and a title. - [JsonPropertyName("passengerName")] - public string PassengerName { get; set; } + /// + /// Passenger name, initials, and a title. + /// + /// Passenger name, initials, and a title. + [JsonPropertyName("passengerName")] + public string PassengerName { get; set; } - /// - /// IATA 3-digit accounting code (PAX); numeric. It identifies the carrier. eg KLM = 074 - /// - /// IATA 3-digit accounting code (PAX); numeric. It identifies the carrier. eg KLM = 074 - [JsonPropertyName("airlineCode")] - public string AirlineCode { get; set; } + /// + /// IATA 3-digit accounting code (PAX); numeric. It identifies the carrier. eg KLM = 074 + /// + /// IATA 3-digit accounting code (PAX); numeric. It identifies the carrier. eg KLM = 074 + [JsonPropertyName("airlineCode")] + public string AirlineCode { get; set; } - /// - /// IATA 2-letter accounting code (PAX); alphabetical. It identifies the carrier. Eg KLM = KL - /// - /// IATA 2-letter accounting code (PAX); alphabetical. It identifies the carrier. Eg KLM = KL - [JsonPropertyName("airlineDesignatorCode")] - public string AirlineDesignatorCode { get; set; } + /// + /// IATA 2-letter accounting code (PAX); alphabetical. It identifies the carrier. Eg KLM = KL + /// + /// IATA 2-letter accounting code (PAX); alphabetical. It identifies the carrier. Eg KLM = KL + [JsonPropertyName("airlineDesignatorCode")] + public string AirlineDesignatorCode { get; set; } - /// - /// The ticket's unique identifier. - /// - /// The ticket's unique identifier. - [JsonPropertyName("ticketNumber")] - public string TicketNumber { get; set; } + /// + /// The ticket's unique identifier. + /// + /// The ticket's unique identifier. + [JsonPropertyName("ticketNumber")] + public string TicketNumber { get; set; } - /// - /// Reference number for the invoice, issued by the agency. - /// - /// Reference number for the invoice, issued by the agency. - [JsonPropertyName("agencyInvoiceNumber")] - public string AgencyInvoiceNumber { get; set; } - } + /// + /// Reference number for the invoice, issued by the agency. + /// + /// Reference number for the invoice, issued by the agency. + [JsonPropertyName("agencyInvoiceNumber")] + public string AgencyInvoiceNumber { get; set; } } \ No newline at end of file -- cgit v1.3