Skip to content

Conversation

@iprysiazhnyi-sift
Copy link
Contributor

@iprysiazhnyi-sift iprysiazhnyi-sift commented May 7, 2025

Purpose

Keep sift-java up to date with latest API changes

Technical overview

  • Added new $promotions field to the $update_account event
  • Moved $iata_carrier_code from $booking object to the $segment object level

@iprysiazhnyi-sift iprysiazhnyi-sift marked this pull request as ready for review May 7, 2025 13:47
Copy link
Contributor

@echumak-sift echumak-sift left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I posted 2 comments, lgtm besides of that

/**
* Sets the IATA carrier code for the flight segment.
*
* <p>This field should only be set when the booking type is {@code $flight}.</p>
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

do you think we need to assess where enhanced validation is needed and what that effort may be as a possible tech debt project?

@Expose @SerializedName("$currency_code") private String currencyCode;
@Expose @SerializedName("$exchange_rate") private ExchangeRate exchangeRate;
@Expose @SerializedName("$quantity") private Long quantity;
@Expose @SerializedName("$iata_carrier_code") private String iataCarrierCode;
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

are we sure nobody started using $iata_carrier_code with booking $booking?

@iprysiazhnyi-sift iprysiazhnyi-sift merged commit a4ff904 into master May 12, 2025
2 checks passed
@iprysiazhnyi-sift iprysiazhnyi-sift deleted the adds_promotions_add_iata_carrier_code branch May 12, 2025 14:00
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants