All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.amadeus.resources.FareSearch Maven / Gradle / Ivy

There is a newer version: 10.0.0
Show newest version
package com.amadeus.resources;

import java.util.HashMap;
import lombok.Getter;
import lombok.ToString;

/**
 * An FareSearch object as returned by the FareSearch API.
 * @see com.amadeus.travel.analytics.FareSearches#get()
 */
@ToString
public class FareSearch extends Resource {
  protected FareSearch() {}

  private @Getter String type;
  private @Getter String period;
  private @Getter String origin;
  private @Getter String sourceCountry;
  private @Getter NumberOfSearches numberOfSearches;

  /**
   * An FareSearch-related object as returned by the FareSearch API.
   * @see com.amadeus.travel.analytics.FareSearches#get()
   */
  @ToString
  public class NumberOfSearches {
    protected NumberOfSearches() {}

    private @Getter HashMap perDestination;
    private @Getter HashMap perTripDuration;
    private @Getter HashMap perDaysInAdvance;
  }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy