gets the total cost of all the flights in the itinerary . concode_field_sep Integer totalTravelTime concode_elem_sep ArrayList<Integer> waitTimes concode_elem_sep double totalCost concode_elem_sep String departureDateAsStr concode_elem_sep String origin concode_elem_sep long serialVersionUID concode_elem_sep String destination concode_elem_sep Calendar departureDate concode_elem_sep ArrayList<Flight> flights concode_field_sep void calculateWaitTime concode_elem_sep ArrayList<Flight> getFlights concode_elem_sep Integer getTotalTraveTime concode_elem_sep String getOrigin concode_elem_sep String getDestination concode_elem_sep Calendar getDepartureDate concode_elem_sep int hashCode concode_elem_sep boolean equals concode_elem_sep String getDepartureDateAsStr concode_elem_sep String toString concode_elem_sep ArrayList<Integer> getWaitTimes
double function ( ) { return totalCost ; }