From e6ca7a484d9cc213fb00c34ebf7cb55ace892c04 Mon Sep 17 00:00:00 2001 From: ivarlovlie Date: Wed, 31 Mar 2021 18:00:22 +0200 Subject: Initial commit --- .../Models/Api/TAdditionalTransactionData.cs | 42 ++++++++++++++++++++++ 1 file changed, 42 insertions(+) create mode 100644 src/IOL.VippsEcommerce/Models/Api/TAdditionalTransactionData.cs (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 new file mode 100644 index 0000000..692c7be --- /dev/null +++ b/src/IOL.VippsEcommerce/Models/Api/TAdditionalTransactionData.cs @@ -0,0 +1,42 @@ +using System.Text.Json.Serialization; + +namespace IOL.VippsEcommerce.Models.Api +{ + public class TAdditionalTransactionData + { + /// + /// 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 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; } + + /// + /// 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