Interface CheckInFacade
- All Known Implementing Classes:
DefaultCheckInFacade
public interface CheckInFacade
Facade exposing methods relevant to the Check In process
-
Method Summary
Modifier and TypeMethodDescriptionbooleancheckTravellerEligibility(String travellerCode, List<String> transportOfferingCodes, String abstractOrderCode) Method to check if a traveller is eligible to amend the ancillaries of his order.doCheckin(CheckInRequestData checkInRequest) This method will perform the Check-In based on the incoming RequestDataGets checkin flow group for checkout.booleanisCheckInPossible(ReservationData reservationData, int originDestinationRefNumber) This method checks if the Check-In process is possible for the leg identified by the originDestinationRefNumber for the given ReservationData Returns true if Check In is possible, false otherwisebooleanisTravellerCheckInPossible(ReservationData reservationData, int originDestinationRefNumber) This method checks if the Check-In process is possible for the leg identified by the originDestinationRefNumber for the given ReservationData Returns true if Check In is possible, false otherwisevoidstartCheckInProcess(String bookingReference, int originDestinationRefNumber, List<String> travellersToCheckIn) Method to start the check-in process
-
Method Details
-
doCheckin
This method will perform the Check-In based on the incoming RequestData- Parameters:
checkInRequest- the check in request- Returns:
- CheckInResponseData evaluated from checkInRequest
-
isCheckInPossible
This method checks if the Check-In process is possible for the leg identified by the originDestinationRefNumber for the given ReservationData Returns true if Check In is possible, false otherwise- Parameters:
reservationData- Reservation details to be Checked InoriginDestinationRefNumber- Origin Destination reference number to identify the leg- Returns:
- boolean boolean
-
getCheckinFlowGroupForCheckout
String getCheckinFlowGroupForCheckout()Gets checkin flow group for checkout.- Returns:
- String checkin flow group for checkout
-
checkTravellerEligibility
boolean checkTravellerEligibility(String travellerCode, List<String> transportOfferingCodes, String abstractOrderCode) Method to check if a traveller is eligible to amend the ancillaries of his order.- Parameters:
travellerCode- as the code of the traveller to be checkedtransportOfferingCodes- as the codes of the transportOffering to checkabstractOrderCode- the abstract order code, i.e., the booking reference number- Returns:
- true if it is possible to amend the ancillaries for the specific traveller and transportOfferings, false otherwise
-
startCheckInProcess
void startCheckInProcess(String bookingReference, int originDestinationRefNumber, List<String> travellersToCheckIn) Method to start the check-in process- Parameters:
bookingReference- as the reference of the bookingoriginDestinationRefNumber- as the originDestinationRefNumber of the leg the traveller has checked intravellersToCheckIn- as the list of travellers to check in
-
isTravellerCheckInPossible
boolean isTravellerCheckInPossible(ReservationData reservationData, int originDestinationRefNumber) throws ReservationException This method checks if the Check-In process is possible for the leg identified by the originDestinationRefNumber for the given ReservationData Returns true if Check In is possible, false otherwise- Parameters:
reservationData- Reservation details to be Checked InoriginDestinationRefNumber- Origin Destination reference number to identify the leg- Returns:
- boolean boolean
- Throws:
ReservationException
-