Com.Hopper.Hts.Airlines 0.1.18

dotnet add package Com.Hopper.Hts.Airlines --version 0.1.18
                    
NuGet\Install-Package Com.Hopper.Hts.Airlines -Version 0.1.18
                    
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="Com.Hopper.Hts.Airlines" Version="0.1.18" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="Com.Hopper.Hts.Airlines" Version="0.1.18" />
                    
Directory.Packages.props
<PackageReference Include="Com.Hopper.Hts.Airlines" />
                    
Project file
For projects that support Central Package Management (CPM), copy this XML node into the solution Directory.Packages.props file to version the package.
paket add Com.Hopper.Hts.Airlines --version 0.1.18
                    
#r "nuget: Com.Hopper.Hts.Airlines, 0.1.18"
                    
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
#:package Com.Hopper.Hts.Airlines@0.1.18
                    
#:package directive can be used in C# file-based apps starting in .NET 10 preview 4. Copy this into a .cs file before any lines of code to reference the package.
#addin nuget:?package=Com.Hopper.Hts.Airlines&version=0.1.18
                    
Install as a Cake Addin
#tool nuget:?package=Com.Hopper.Hts.Airlines&version=0.1.18
                    
Install as a Cake Tool

Summary

  • Regenerate the client from the updated OpenAPI spec (model/doc/api changes across AnalyticsApi, CancelForAnyReasonCFARApi, BookingConfirmed, PaymentCard, CreateDgContractExerciseRequest, DgExerciseItinerary, etc.).
  • Fix a compile error in ClientUtils.cs where the Api model class collided with the sibling Com.Hopper.Hts.Airlines.Api namespace — Api.TypeEnum/Api.TypeEnumToJsonValue resolved to the namespace. Qualified as Model.Api.* so the type resolves correctly.

⚠️ Breaking changes (source-level, for partners upgrading the NuGet package)

These break compilation when a partner upgrades the client and recompiles. Wire/HTTP behavior remains backwards compatible.

1. AnalyticsApi.PostEventsAsync / PostEventsOrDefaultAsync — parameter order swapped and type changed:

// before
PostEventsAsync(string hCSessionID, Event varEvent, ...)
// after
PostEventsAsync(Event varEvent, Option<string> hCSessionID = default, ...)

Existing calls like PostEventsAsync(sessionId, evt) no longer compile. HC-Session-ID is now optional (for booking_confirmed events). The partial hooks FormatPostEvents, AfterPostEvents, and OnErrorPostEvents also changed signature, so partners who implemented those must update them.

2. CreateDgContractExerciseRequest — itinerary changed from required to optional and the constructor was reordered:

// before
(string contractId, DgExerciseItinerary itinerary, string pnrReference, ...)
// after
(string contractId, string pnrReference, Option<DgExerciseItinerary?> itinerary = default, ...)

Positional construction breaks. The Itinerary property type also changed from DgExerciseItinerary to DgExerciseItinerary? (nullable).

Non-breaking (additive)

  • PaymentCard: new optional cardBrand param appended + CardBrand property.
  • BookingConfirmed: three new optional params appended (cfarOfferIds, dgOfferIds, bookingReferences).
  • AirlineRefundMethod: new enum member ManualCash = 3. (Note: an older client version will throw NotImplementedException if the server returns manual_cash — server-driven, not caused by this diff.)
  • Doc/example/comment-only changes elsewhere. Unknown JSON response fields are ignored by the deserializers, so old clients tolerate the new fields.
Product Compatible and additional computed target framework versions.
.NET net6.0 is compatible.  net6.0-android was computed.  net6.0-ios was computed.  net6.0-maccatalyst was computed.  net6.0-macos was computed.  net6.0-tvos was computed.  net6.0-windows was computed.  net7.0 was computed.  net7.0-android was computed.  net7.0-ios was computed.  net7.0-maccatalyst was computed.  net7.0-macos was computed.  net7.0-tvos was computed.  net7.0-windows was computed.  net8.0 is compatible.  net8.0-android was computed.  net8.0-browser was computed.  net8.0-ios was computed.  net8.0-maccatalyst was computed.  net8.0-macos was computed.  net8.0-tvos was computed.  net8.0-windows was computed.  net9.0 was computed.  net9.0-android was computed.  net9.0-browser was computed.  net9.0-ios was computed.  net9.0-maccatalyst was computed.  net9.0-macos was computed.  net9.0-tvos was computed.  net9.0-windows was computed.  net10.0 was computed.  net10.0-android was computed.  net10.0-browser was computed.  net10.0-ios was computed.  net10.0-maccatalyst was computed.  net10.0-macos was computed.  net10.0-tvos was computed.  net10.0-windows was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

NuGet packages

This package is not used by any NuGet packages.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last Updated
0.1.18 197 7/8/2026
0.1.17 270 3/11/2026
0.1.16 115 3/9/2026
0.1.15 110 3/4/2026
0.1.14 170 1/20/2026
0.1.13 8,298 6/26/2025
0.1.12 334 5/16/2025
0.1.11 290 5/15/2025
0.1.10 2,647 2/11/2025
0.1.9 162 1/27/2025
0.1.8 161 1/14/2025
0.1.7 159 1/14/2025
0.1.6 162 1/8/2025
0.1.6-SNAPSHOT 119 1/7/2025
0.1.5 159 12/2/2024
0.1.4 167 11/21/2024
0.1.3 183 10/30/2024
0.1.2 184 10/30/2024
0.1.1 186 10/30/2024
Loading failed

Minor update