Class ManageBookingController
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
-
Nested Class Summary
Nested classes/interfaces inherited from class de.hybris.platform.acceleratorstorefrontcommons.controllers.AbstractController
AbstractController.HttpNotFoundException -
Field Summary
Fields inherited from class de.hybris.platform.acceleratorstorefrontcommons.controllers.AbstractController
FORWARD_PREFIX, REDIRECT_PREFIX, ROOT -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionacceptOrder(String orderCode) cancelOrder(org.springframework.web.servlet.mvc.support.RedirectAttributes redirectModel, String orderCode) Method to cancel an orderdeleteBooking(String orderCode, org.springframework.web.servlet.mvc.support.RedirectAttributes redirectModel) getRefundConfirmation(org.springframework.ui.Model model, String orderCode) Method to get the total amount to be refunded in case of cancel orderMethods inherited from class de.hybris.platform.acceleratorstorefrontcommons.controllers.AbstractController
addRequestToModel, getBean
-
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
-
deleteBooking
-