1 #ifndef __AIRINV_BOM_INVENTORYHELPER_HPP 2 #define __AIRINV_BOM_INVENTORYHELPER_HPP 10 #include <stdair/stdair_basic_types.hpp> 11 #include <stdair/bom/BomIDTypes.hpp> 15 struct TravelSolutionStruct;
28 static void fillFromRouting (
const stdair::Inventory&);
31 static void calculateAvailability (
const stdair::Inventory&,
33 stdair::TravelSolutionStruct&);
36 static void getYieldAndBidPrice (
const stdair::Inventory&,
38 stdair::TravelSolutionStruct&);
41 static bool sell (stdair::Inventory&,
const std::string& iSegmentDateKey,
42 const stdair::ClassCode_T&,
const stdair::PartySize_T&);
45 static bool sell (
const stdair::BookingClassID_T&,
46 const stdair::PartySize_T&);
49 static bool cancel (stdair::Inventory&,
const std::string& iSegmentDateKey,
50 const stdair::ClassCode_T&,
const stdair::PartySize_T&);
53 static bool cancel (
const stdair::BookingClassID_T&,
54 const stdair::PartySize_T&);
57 static void takeSnapshots (
const stdair::Inventory&,
58 const stdair::DateTime_T&);
62 static bool sell (stdair::BookingClass&,
const stdair::PartySize_T&);
65 static bool cancel (stdair::BookingClass&,
const stdair::PartySize_T&);
69 #endif // __AIRINV_BOM_INVENTORYHELPER_HPP