$treeview $search $mathjax
#include <travelccm/command/ChoiceManager.hpp>
Static Public Member Functions | |
static const stdair::TravelSolutionStruct * | chooseTravelSolution (stdair::TravelSolutionList_T &, const stdair::BookingRequestStruct &, const stdair::PassengerChoiceModel::EN_PassengerChoiceModel &) |
Definition at line 22 of file ChoiceManager.hpp.
const stdair::TravelSolutionStruct * TRAVELCCM::ChoiceManager::chooseTravelSolution | ( | stdair::TravelSolutionList_T & | , | |
const stdair::BookingRequestStruct & | , | |||
const stdair::PassengerChoiceModel::EN_PassengerChoiceModel & | ||||
) | [static] |
Choose the travel solution and the fare option within the given list of travel solutions.
The returned pointer will be NULL if no travel solution is chosen (e.g. Willingness-To-Pay too low).
Definition at line 17 of file ChoiceManager.cpp.
References TRAVELCCM::CustomerChoiceModel::chooseTravelSolution(), and TRAVELCCM::CustomerChoiceModel::create().
Referenced by TRAVELCCM::TRAVELCCM_Service::chooseTravelSolution().