Class DefaultNDCAlaCarteValidator
java.lang.Object
de.hybris.platform.ndc182facades.facades.order.impl.DefaultNDCAlaCarteValidator
- All Implemented Interfaces:
NDCAlaCarteValidator
The implementation of
NDCAlaCarteValidator-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidvalidateJourneyForAlaCarteOfferItem(NDCAlaCarteOfferItemData ndcAlaCarteOfferItemData, String alaCarteJourneyRefId, String offerID, List<String> alaCartePaxSegmentIds) Validates: 1.voidvalidatePaxSegmentForAlaCarteOfferItem(NDCAlaCarteOfferItemData ndcAlaCarteOfferItemData, String alaCartePaxSegmentID, List<String> alaCartePaxSegmentIds) Validates: 1.
-
Constructor Details
-
DefaultNDCAlaCarteValidator
public DefaultNDCAlaCarteValidator()
-
-
Method Details
-
validateJourneyForAlaCarteOfferItem
public void validateJourneyForAlaCarteOfferItem(NDCAlaCarteOfferItemData ndcAlaCarteOfferItemData, String alaCarteJourneyRefId, String offerID, List<String> alaCartePaxSegmentIds) throws NDCException Description copied from interface:NDCAlaCarteValidatorValidates: 1. alaCartePaxJourneyIds from the PaxJourneyList contains alaCarteJourneyRefId from FlightAssociations 2. Transport offerings in the journey is same as the transport offerings from the cache- Specified by:
validateJourneyForAlaCarteOfferItemin interfaceNDCAlaCarteValidator- Parameters:
ndcAlaCarteOfferItemData- the ndc ala carte offer item dataalaCarteJourneyRefId- the ala carte journey ref idofferID- the offer idalaCartePaxSegmentIds- the ala carte pax segment ids- Throws:
NDCException- the ndc exception
-
validatePaxSegmentForAlaCarteOfferItem
public void validatePaxSegmentForAlaCarteOfferItem(NDCAlaCarteOfferItemData ndcAlaCarteOfferItemData, String alaCartePaxSegmentID, List<String> alaCartePaxSegmentIds) throws NDCException Description copied from interface:NDCAlaCarteValidatorValidates: 1. alaCartePaxSegmentIds from the PaxJourneyList contains alaCartePaxSegmentID from FlightAssociations 2. Transport offerings in the segment is same as the transport offerings from the cache- Specified by:
validatePaxSegmentForAlaCarteOfferItemin interfaceNDCAlaCarteValidator- Parameters:
ndcAlaCarteOfferItemData- the ndc ala carte offer item dataalaCartePaxSegmentID- the ala carte pax segment idalaCartePaxSegmentIds- the ala carte pax segment ids- Throws:
NDCException- the ndc exception
-