Interface ShoppingBookingFacade

All Superinterfaces:
BookingFacade
All Known Implementing Classes:
DefaultShoppingBookingFacade

public interface ShoppingBookingFacade extends BookingFacade
The interface Shopping booking facade.
  • Method Details

    • evaluateBookingCancellation

      Evaluates if it is possible to cancel the booking for an airline booking. Checks if 1) the order exists and the user has the rights to cancel the booking. 2) the action is allowed by validating the booking actions. 3) the cancel booking is possible by verifying the consignments, if the order has been already delivered and if there is some invalid payment.
      Parameters:
      orderId - the orderId
      userId - the userId
      Returns:
      The EvaluateCancelBookingResponseData containing all the breakdowns for the total to refund and penalties for both airline and accommodation reservation.
      Throws:
      BookingCancelException - if the additional security data is true in the order but the orderId is a orderGuid, or if there are invalid booking actions.
      InvalidUserException - if the user is not allowed to cancel the booking
      OrderNotFoundException - if the order is not found in the system