Class PaymentOptionsComponentController
java.lang.Object
de.hybris.platform.addonsupport.controllers.AbstractAddOnController
de.hybris.platform.addonsupport.controllers.cms.AbstractCMSAddOnComponentController<T>
de.hybris.platform.travelacceleratorstorefront.controllers.cms.SubstitutingCMSAddOnComponentController<PaymentOptionsComponentModel>
de.hybris.platform.travelacceleratorstorefront.controllers.cms.PaymentOptionsComponentController
@Controller("PaymentOptionsComponentController")
@RequestMapping("/view/PaymentOptionsComponentController")
public class PaymentOptionsComponentController
extends SubstitutingCMSAddOnComponentController<PaymentOptionsComponentModel>
The type Payment options component controller.
-
Nested Class Summary
Nested classes/interfaces inherited from class de.hybris.platform.addonsupport.controllers.AbstractAddOnController
de.hybris.platform.addonsupport.controllers.AbstractAddOnController.HttpNotFoundException -
Field Summary
Fields inherited from class de.hybris.platform.addonsupport.controllers.cms.AbstractCMSAddOnComponentController
COMPONENT, COMPONENT_UID, FORWARD_PREFIX, REDIRECT_PREFIX, ROOT -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected SelectPaymentOptionResponseDatabuildResponseData(boolean valid, String error) protected voidfillModel(javax.servlet.http.HttpServletRequest request, org.springframework.ui.Model model, PaymentOptionsComponentModel component) selectPaymentOption(PaymentOptionForm paymentOptionForm, org.springframework.validation.BindingResult bindingResult, javax.servlet.http.HttpServletRequest request, org.springframework.ui.Model model) Methods inherited from class de.hybris.platform.travelacceleratorstorefront.controllers.cms.SubstitutingCMSAddOnComponentController
getAddonUiExtensionName, getConfigurationService, setMaxAllowedCheckInCheckOutDateDifferenceMethods inherited from class de.hybris.platform.addonsupport.controllers.cms.AbstractCMSAddOnComponentController
checkIfComponentNotEmpty, getCmsComponentFolder, getCmsComponentService, getCmsPageContextService, getRequestContextData, getTypeCode, getView, getViewResourceName, handleComponent, handleGet, setCmsComponentServiceMethods inherited from class de.hybris.platform.addonsupport.controllers.AbstractAddOnController
addRequestToModel, getBean
-
Constructor Details
-
PaymentOptionsComponentController
public PaymentOptionsComponentController()
-
-
Method Details
-
fillModel
protected void fillModel(javax.servlet.http.HttpServletRequest request, org.springframework.ui.Model model, PaymentOptionsComponentModel component) - Specified by:
fillModelin classde.hybris.platform.addonsupport.controllers.cms.AbstractCMSAddOnComponentController<PaymentOptionsComponentModel>
-
selectPaymentOption
@RequestMapping(value="/select-payment-option", method=POST, produces="application/json") @ResponseBody public SelectPaymentOptionResponseData selectPaymentOption(PaymentOptionForm paymentOptionForm, org.springframework.validation.BindingResult bindingResult, javax.servlet.http.HttpServletRequest request, org.springframework.ui.Model model) -
buildResponseData
-