16 FareFeatures::FareFeatures()
28 FareFeatures::FareFeatures (
const FareFeatures& iFeatures)
29 : _key (iFeatures.getKey()), _parent (NULL) {
33 FareFeatures::FareFeatures (
const Key_T& iKey)
34 : _key (iKey), _parent (NULL) {
43 std::ostringstream oStr;
51 bool oIsTripTypeValidFlag =
true;
56 if (iBookingRequestTripType == lFareTripType) {
58 return oIsTripTypeValidFlag;
65 return oIsTripTypeValidFlag;
69 oIsTripTypeValidFlag =
false;
70 return oIsTripTypeValidFlag;
79 if (lMinimumDayDuration > iStayDuration) {
90 bool oIsAdvancePurchaseValidFlag =
true;
94 const DateOffset_T lMinimumAdvancedPurchase (lAdvancedPurchase);
95 const DateTime_T lCriticalDate = iFlightDateTime - lMinimumAdvancedPurchase;
97 if (lCriticalDate < iBookingRequestDateTime) {
98 oIsAdvancePurchaseValidFlag =
false;
99 return oIsAdvancePurchaseValidFlag;