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
<PackageReference Include="Com.Hopper.Hts.Airlines" Version="0.1.18" />
<PackageVersion Include="Com.Hopper.Hts.Airlines" Version="0.1.18" />
<PackageReference Include="Com.Hopper.Hts.Airlines" />
paket add Com.Hopper.Hts.Airlines --version 0.1.18
#r "nuget: Com.Hopper.Hts.Airlines, 0.1.18"
#:package Com.Hopper.Hts.Airlines@0.1.18
#addin nuget:?package=Com.Hopper.Hts.Airlines&version=0.1.18
#tool nuget:?package=Com.Hopper.Hts.Airlines&version=0.1.18
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.cswhere theApimodel class collided with the siblingCom.Hopper.Hts.Airlines.Apinamespace —Api.TypeEnum/Api.TypeEnumToJsonValueresolved to the namespace. Qualified asModel.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 optionalcardBrandparam appended +CardBrandproperty.BookingConfirmed: three new optional params appended (cfarOfferIds,dgOfferIds,bookingReferences).AirlineRefundMethod: new enum memberManualCash = 3. (Note: an older client version will throwNotImplementedExceptionif the server returnsmanual_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 | Versions 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. |
-
net6.0
- Microsoft.Extensions.Hosting (>= 6.0.1)
- Microsoft.Extensions.Http (>= 6.0.0)
- Microsoft.Extensions.Http.Polly (>= 6.0.19)
-
net8.0
- Microsoft.Extensions.Hosting (>= 6.0.1)
- Microsoft.Extensions.Http (>= 6.0.0)
- Microsoft.Extensions.Http.Polly (>= 6.0.19)
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 |
Minor update