15 FareFeaturesKey::FareFeaturesKey()
26 FareFeaturesKey::FareFeaturesKey (
const TripType_T& iTripType,
32 : _tripType (iTripType), _advancePurchase (iAdvancePurchase),
33 _saturdayStay (iSaturdayStay), _changeFees (iChangeFees),
34 _nonRefundable (iNonRefundable), _minimumStay (iMinimumStay) {
53 ioOut <<
"FareFeaturesKey: " <<
toString() << std::endl;
62 std::ostringstream oStr;
63 oStr << _tripType <<
" -- " << _advancePurchase <<
"-" 64 << _saturdayStay <<
"-" << _changeFees <<
"-" 65 << _nonRefundable <<
"-" << _minimumStay;
Handle on the StdAir library context.
const DayDuration_T NO_STAY_DURATION
void toStream(std::ostream &ioOut) const
const ChangeFees_T & getChangeFees() const
const DayDuration_T NO_ADVANCE_PURCHASE
const TripType_T & getTripType() const
const std::string toString() const
const NonRefundable_T & getRefundableOption() const
const NonRefundable_T NON_REFUNDABLE
const TripType_T TRIP_TYPE_ONE_WAY
const DayDuration_T & getMinimumStay() const
const SaturdayStay_T SATURDAY_STAY
const ChangeFees_T CHANGE_FEES
const DayDuration_T & getAdvancePurchase() const
void fromStream(std::istream &ioIn)
const SaturdayStay_T & getSaturdayStay() const