Interface SelectedAccommodationStrategy
- All Known Implementing Classes:
TravellerStatusAccommodationValidationStrategy
public interface SelectedAccommodationStrategy
Strategy to validate the amendment of the selected accommodation
-
Method Summary
-
Method Details
-
validateSelectedAccommodation
AddToCartResponseData validateSelectedAccommodation(String accommodationUid, String previousSelectedAccommodation, String transportOfferingCode, String travellerCode, String originDestinationRefNo, String travelRoute) Method to validate the amendment of a selected accommodation- Parameters:
accommodationUid- the accommodation UidpreviousSelectedAccommodation- the previous selected accommodationtransportOfferingCode- the transport offering codetravellerCode- the traveller codeoriginDestinationRefNo- the origin destination ref notravelRoute- the travel route- Returns:
- the addToCartResponseData, where valid is true if the addAccommodationToCart is valid, false otherwise.
-