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

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

package com.amadeus.resources;

import lombok.Getter;
import lombok.ToString;

@ToString
public class FlightPrice extends Resource {
  private @Getter String type;
  private @Getter FlightOfferSearch[] flightOffers;
  private @Getter BookingRequirements bookingRequirements;

  protected FlightPrice() {}

  @ToString
  public class BookingRequirements {

    private @Getter Boolean invoiceAddressRequired;
    private @Getter Boolean mailingAddressRequired;
    private @Getter Boolean emailAddressRequired;
    private @Getter Boolean phoneCountryCodeRequired;
    private @Getter Boolean mobilePhoneNumberRequired;
    private @Getter Boolean phoneNumberRequired;
    private @Getter Boolean postalCodeRequired;
    private @Getter PassengerConditions[] travelerRequirements;

    protected BookingRequirements() {}
  }

  @ToString
  public class PassengerConditions {
    private @Getter String travelerId;
    private @Getter Boolean genderRequired;
    private @Getter Boolean documentRequired;
    private @Getter Boolean documentIssuanceCityRequired;
    private @Getter Boolean dateOfBirthRequired;
    private @Getter Boolean redressRequiredIfAny;
    private @Getter Boolean airFranceDiscountRequired;
    private @Getter Boolean spanishResidentDiscountRequired;
    private @Getter Boolean residenceRequired;

    protected PassengerConditions(){}
  }

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy