Interface ShoppingTravellerFacade
- All Superinterfaces:
TravellerFacade
- All Known Implementing Classes:
DefaultShoppingTravellerFacade
Facade that exposes Traveller specific services
-
Method Summary
Modifier and TypeMethodDescriptioncreateTraveller(String travellerType, String passengerType, String travellerCode, int passengerNumber, String travellerUidPrefix, String cartOrOrderCode, int shoppingTravellerId) Creates a new instance of TravellerData with relevant details populatedgetAdvancePassengerInformation(String orderId, Integer solutionId, String travellerId) Method to get the advance passenger information details of a passenger against order.getTravellerFromCart(String travellerUid, Integer solutionId) Method gets traveller from session cart entries for the given traveller uid and solution id.getTravellerFromOrder(String orderId, String travellerUid, Integer solutionId) Method gets traveller from order entries for the given traveller uid and solution id.getTravellersFromCart(Integer solutionId) Method gets travellers from session cart entries for the given solution id.getTravellersFromOrder(String orderId, Integer solutionId) Method gets travellers from order entries for the given solution id.voidsaveAdvancePassengerInformation(String orderId, String travellerId, PassengerInformationData passengerInformationData, Integer solutionId) Method is used to save advance passenger details for traveller with solution id.Methods inherited from interface de.hybris.platform.travelfacades.facades.TravellerFacade
createTraveller, createTraveller, findSavedTravellersUsingFirstName, findSavedTravellersUsingSurname, getAdvancePassengerInformation, getCurrentUserDetails, getCustomerTravellerInstanceData, getPassengerInformation, getReasonForTravelTypes, getSavedSearchesForUser, getSavedTravellersForCurrentUser, getSavedTravellersForUser, getSaveTravellerPreferences, getSessionCartTravellerForUid, getTraveller, getTraveller, getTravellerFromCart, getTravellerFromCurrentCart, getTravellerFromOrder, getTravellerPreferences, getTravellersForCartEntries, getTravellersFromCart, getTravellersFromOrder, isAnonymousUser, populateTravellersNamesMap, removeSavedTraveller, retrieveTravellers, saveAdvancePassengerInformation, updateAndGetExistingTravellerDetails, updateCurrentUserSpecialRequestDetails, updateCustomerSavedTravellers, updatePassengerInformation, updateTravellerDetails, validateBeforeCheckIn
-
Method Details
-
createTraveller
TravellerData createTraveller(String travellerType, String passengerType, String travellerCode, int passengerNumber, String travellerUidPrefix, String cartOrOrderCode, int shoppingTravellerId) Creates a new instance of TravellerData with relevant details populated- Parameters:
travellerType- the traveller typepassengerType- the passenger typetravellerCode- the traveller codepassengerNumber- the passenger numbertravellerUidPrefix- the traveller uid prefixcartOrOrderCode- the cartOrOrderCodeshoppingTravellerId- the shopping traveller id- Returns:
- newly created instance of Traveller
-
getTravellersFromCart
Method gets travellers from session cart entries for the given solution id.- Parameters:
solutionId- the solution id- Returns:
- the list of traveller data
-
getTravellerFromCart
Method gets traveller from session cart entries for the given traveller uid and solution id.- Parameters:
travellerUid- the traveller uidsolutionId- the solution id- Returns:
- the traveller data
-
getTravellersFromOrder
Method gets travellers from order entries for the given solution id.- Parameters:
orderId- the order idsolutionId- the solution id- Returns:
- the list of traveller data
-
getTravellerFromOrder
Method gets traveller from order entries for the given traveller uid and solution id.- Parameters:
orderId- the order idtravellerUid- the traveller uidsolutionId- the solution id- Returns:
- the traveller data
-
saveAdvancePassengerInformation
void saveAdvancePassengerInformation(String orderId, String travellerId, PassengerInformationData passengerInformationData, Integer solutionId) Method is used to save advance passenger details for traveller with solution id.- Parameters:
orderId- the orderIdtravellerId- the travellerIdpassengerInformationData- the passengerInformationDatasolutionId- the solution id
-
getAdvancePassengerInformation
PassengerInformationData getAdvancePassengerInformation(String orderId, Integer solutionId, String travellerId) Method to get the advance passenger information details of a passenger against order.- Parameters:
orderId- the userIdsolutionId- the solutionIdtravellerId- the travellerId- Returns:
- passengerInformationData
-