java.lang.Object
de.hybris.platform.acceleratorstorefrontcommons.controllers.AbstractController
de.hybris.platform.travelacceleratorstorefront.controllers.misc.ManageBookingController

@Controller @RequestMapping("/manage-booking") public class ManageBookingController extends AbstractController
Controller for Manage Booking pages
  • Constructor Details

    • ManageBookingController

      public ManageBookingController()
  • Method Details

    • getRefundConfirmation

      @RequestMapping(value="/cancel-booking-request/{orderCode}", method=GET) public String getRefundConfirmation(org.springframework.ui.Model model, @PathVariable String orderCode)
      Method to get the total amount to be refunded in case of cancel order
      Parameters:
      model -
      order - Code as the code of the order to be cancelled
      Returns:
      the string representing the formatted value of the refund
    • cancelOrder

      @RequestMapping("/cancel-booking/{orderCode}") public String cancelOrder(org.springframework.web.servlet.mvc.support.RedirectAttributes redirectModel, @PathVariable String orderCode)
      Method to cancel an order
      Parameters:
      redirectModel -
      orderCode - as the code of the order to be cancelled
      Returns:
      the redirect to the Cancel Confirmation page
    • acceptOrder

      @RequestMapping("/accept-booking/{orderCode}") public String acceptOrder(@PathVariable String orderCode)
    • deleteBooking

      @RequestMapping("/unlink-booking/{orderCode}") public String deleteBooking(@PathVariable String orderCode, org.springframework.web.servlet.mvc.support.RedirectAttributes redirectModel)