public class FlightInfoExtendedBuilder extends Object
FlightInfoExtended object.public FlightInfoExtendedBuilder setDepartureAirport(String airportCode, String city, String gate, String terminal)
Airport for the current
FlightInfoExtended object. This field is mandatory for this
object and can't be null.airportCode - the airport code. It can't be empty.city - the city name. The city will be displayed over the airport
code in the template. It can't be empty.gate - the airport gate. This field is optional.terminal - the airport terminal. This field is optional.public FlightInfoExtendedBuilder setDepartureAirport(String airportCode, String city)
Airport for the current
FlightInfoExtended object. This field is mandatory for this
object and can't be null.airportCode - the airport code. It can't be empty.city - the city name. The city will be displayed over the airport
code in the template. It can't be empty.public FlightInfoExtendedBuilder setDepartureAirport(Airport airport)
Airport for the current
FlightInfoExtended object. This field is mandatory for this
object and can't be null.airport - the departure airport. It can't be null.public FlightInfoExtendedBuilder setArrivalAirport(String airportCode, String city, String gate, String terminal)
Airport for the current
FlightInfoExtended object. This field is mandatory for this
object and can't be null.airportCode - the airport code. It can't be empty.city - the city name. The city will be displayed over the airport
code in the template. It can't be empty.gate - the airport gate. This field is optional.terminal - the airport terminal. This field is optional.public FlightInfoExtendedBuilder setArrivalAirport(String airportCode, String city)
Airport for the current
FlightInfoExtended object. This field is mandatory for this
object and can't be null.airportCode - the airport code. It can't be empty.city - the city name. The city will be displayed over the airport
code in the template. It can't be empty.public FlightInfoExtendedBuilder setArrivalAirport(Airport airport)
Airport for the current
FlightInfoExtended object. This field is mandatory for this
object and can't be null.airport - the arrival airport. It can't be null.public FlightInfoExtendedBuilder setFlightSchedule(Calendar departureTime, Calendar arrivalTime)
FlightSchedule object for the current
FlightInfoExtended object. This field is mandatory for this
object and can't be null.departureTime - the departure time. It can't be null.arrivalTime - the arrival time. It can't be null.public FlightInfoExtendedBuilder setFlightSchedule(Calendar departureTime, Calendar arrivalTime, Calendar boardingTime)
FlightSchedule object for the current
FlightInfoExtended object. This field is mandatory for this
object and can't be null.departureTime - the departure time. It can't be null.arrivalTime - the arrival time. It can't be null.boardingTime - the boarding time. This field is optional.public FlightInfoExtendedBuilder setFlightSchedule(FlightSchedule flightSchedule)
FlightSchedule object for the current
FlightInfoExtended object. This field is mandatory for this
object and can't be null.flightSchedule - the flight schedule to set. It can't be null.public FlightInfoExtendedBuilder setAircraftType(String aircraftType)
FlightInfo object. This
field is optional.aircraftType - the aircraft type.public AirlineItineraryTemplateBuilder endFlightInfo()
Copyright © 2017 BotMill. All rights reserved.