Insights

public Insights Insights(String cheapestOfferId, FlightsV3Money averageCheapestPrice, FlightsV3Money medianCheapestPrice, Integer searchComparisonCount, Integer percentageOfFaresHigher, Insights.PriceTrend priceTrend, List<String> pastPerDayMedianCheapestPrices, String message)

Parameters

cheapestOfferId

Container for insights response.

averageCheapestPrice
medianCheapestPrice
searchComparisonCount

Number of searches compared to build the insights information for the given search.

percentageOfFaresHigher

Percentage value that defines where the cheapest fare of the current search result stand comparing the prices for similar searches for nearby dates.

priceTrend

Shows how the price trends

pastPerDayMedianCheapestPrices

List of median of cheapest prices for the specifc search criteria for last 21 days. List will be in the order starting from 21 days ago till yesterday.

message

Shows a custom message in the respective language corresponding to the locale requested.