#include <airinv/bom/InventoryHelper.hpp>
Static Public Member Functions | |
static void | fillFromRouting (const stdair::Inventory &) |
static void | calculateAvailability (const stdair::Inventory &, const std::string &, stdair::TravelSolutionStruct &) |
static void | getYieldAndBidPrice (const stdair::Inventory &, const std::string &, stdair::TravelSolutionStruct &) |
static bool | sell (stdair::Inventory &, const std::string &iSegmentDateKey, const stdair::ClassCode_T &, const stdair::PartySize_T &) |
static bool | cancel (stdair::Inventory &, const std::string &iSegmentDateKey, const stdair::ClassCode_T &, const stdair::PartySize_T &) |
static void | takeSnapshots (const stdair::Inventory &, const stdair::DateTime_T &) |
Class representing the actual business functions for an airline inventory.
Definition at line 22 of file InventoryHelper.hpp.
|
static |
Fill the attributes derived from the routing legs (e.g., board and off dates).
Definition at line 28 of file InventoryHelper.cpp.
|
static |
Compute the availability for the given travel solution.
Definition at line 44 of file InventoryHelper.cpp.
References AIRINV::SegmentCabinHelper::updateAvailabilities().
|
static |
Get yield and bid price information for the given travel solution.
Definition at line 97 of file InventoryHelper.cpp.
|
static |
Make a sale with the given travel solution.
Definition at line 239 of file InventoryHelper.cpp.
References AIRINV::SegmentCabinHelper::updateFromReservation().
|
static |
Make a cancellation.
Definition at line 295 of file InventoryHelper.cpp.
References AIRINV::SegmentCabinHelper::updateFromReservation().
|
static |
Take inventory snapshots.
Definition at line 351 of file InventoryHelper.cpp.