16 FareFeatures::FareFeatures()
28 FareFeatures::FareFeatures (
const FareFeatures& iFeatures)
29 : _key (iFeatures.getKey()), _parent (NULL) {
34 FareFeatures::FareFeatures (
const Key_T& iKey)
35 : _key (iKey), _parent (NULL) {
44 std::ostringstream oStr;
52 bool oIsTripTypeValidFlag =
true;
57 if (iBookingRequestTripType == lFareTripType) {
59 return oIsTripTypeValidFlag;
66 return oIsTripTypeValidFlag;
70 oIsTripTypeValidFlag =
false;
71 return oIsTripTypeValidFlag;
80 if (lMinimumDayDuration > iStayDuration) {
91 bool oIsAdvancePurchaseValidFlag =
true;
95 const DateOffset_T lMinimumAdvancedPurchase (lAdvancedPurchase);
96 const DateTime_T lCriticalDate = iFlightDateTime - lMinimumAdvancedPurchase;
98 if (lCriticalDate < iBookingRequestDateTime) {
99 oIsAdvancePurchaseValidFlag =
false;
100 return oIsAdvancePurchaseValidFlag;