public class FlightInfoExtendedBuilder extends Object
FlightInfoExtended object.| Modifier and Type | Method and Description |
|---|---|
AirlineItineraryTemplateBuilder |
endFlightInfo()
Builds the current object, adds it to the parent builder and returns the
parent builder.
|
FlightInfoExtendedBuilder |
setAircraftType(String aircraftType)
Sets the aircraft type for the current
FlightInfo object. |
FlightInfoExtendedBuilder |
setArrivalAirport(Airport airport)
Sets the arrival
Airport for the current
FlightInfoExtended object. |
FlightInfoExtendedBuilder |
setArrivalAirport(String airportCode,
String city)
Sets the arrival
Airport for the current
FlightInfoExtended object. |
FlightInfoExtendedBuilder |
setArrivalAirport(String airportCode,
String city,
String gate,
String terminal)
Sets the arrival
Airport for the current
FlightInfoExtended object. |
FlightInfoExtendedBuilder |
setDepartureAirport(Airport airport)
Sets the departure
Airport for the current
FlightInfoExtended object. |
FlightInfoExtendedBuilder |
setDepartureAirport(String airportCode,
String city)
Sets the departure
Airport for the current
FlightInfoExtended object. |
FlightInfoExtendedBuilder |
setDepartureAirport(String airportCode,
String city,
String gate,
String terminal)
Sets the departure
Airport for the current
FlightInfoExtended object. |
FlightInfoExtendedBuilder |
setFlightSchedule(Calendar departureTime,
Calendar arrivalTime)
Sets the object for the current
FlightInfoExtended object. |
FlightInfoExtendedBuilder |
setFlightSchedule(Calendar departureTime,
Calendar arrivalTime,
Calendar boardingTime)
Sets the object for the current
FlightInfoExtended object. |
FlightInfoExtendedBuilder |
setFlightSchedule(FlightSchedule flightSchedule)
Sets the object for the current
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)
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)
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)
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 © 2016 BotMill. All rights reserved.