Interface CheckInFacade

All Known Implementing Classes:
DefaultCheckInFacade

public interface CheckInFacade
Facade exposing methods relevant to the Check In process
  • Method Summary

    Modifier and Type
    Method
    Description
    boolean
    checkTravellerEligibility(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 RequestData
    Gets checkin flow group for checkout.
    boolean
    isCheckInPossible(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 otherwise
    boolean
    isTravellerCheckInPossible(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 otherwise
    void
    startCheckInProcess(String bookingReference, int originDestinationRefNumber, List<String> travellersToCheckIn)
    Method to start the check-in process
  • Method Details

    • doCheckin

      CheckInResponseData doCheckin(CheckInRequestData checkInRequest)
      This method will perform the Check-In based on the incoming RequestData
      Parameters:
      checkInRequest - the check in request
      Returns:
      CheckInResponseData evaluated from checkInRequest
    • isCheckInPossible

      boolean isCheckInPossible(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 otherwise
      Parameters:
      reservationData - Reservation details to be Checked In
      originDestinationRefNumber - 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 checked
      transportOfferingCodes - as the codes of the transportOffering to check
      abstractOrderCode - 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 booking
      originDestinationRefNumber - as the originDestinationRefNumber of the leg the traveller has checked in
      travellersToCheckIn - 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 In
      originDestinationRefNumber - Origin Destination reference number to identify the leg
      Returns:
      boolean boolean
      Throws:
      ReservationException