Class DefaultDeliveryMethodCheckoutStepValidator
java.lang.Object
de.hybris.platform.acceleratorstorefrontcommons.checkout.steps.validation.AbstractCheckoutStepValidator
de.hybris.platform.storefront.checkout.steps.validation.impl.DefaultDeliveryMethodCheckoutStepValidator
- All Implemented Interfaces:
CheckoutStepValidator
Default implementation of delivery method validator.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvalidateOnEnter(org.springframework.web.servlet.mvc.support.RedirectAttributes redirectAttributes) This method should be implemented to validate whether all the required details are present before entering the checkout step.Does validation while transitioning from one CheckoutStep to another.Methods inherited from class de.hybris.platform.acceleratorstorefrontcommons.checkout.steps.validation.AbstractCheckoutStepValidator
getCheckoutFacade, getCheckoutFlowFacade, setCheckoutFacade, setCheckoutFlowFacade
-
Constructor Details
-
DefaultDeliveryMethodCheckoutStepValidator
public DefaultDeliveryMethodCheckoutStepValidator()
-
-
Method Details
-
validateOnEnter
public ValidationResults validateOnEnter(org.springframework.web.servlet.mvc.support.RedirectAttributes redirectAttributes) Description copied from interface:CheckoutStepValidatorThis method should be implemented to validate whether all the required details are present before entering the checkout step.- Specified by:
validateOnEnterin interfaceCheckoutStepValidator- Specified by:
validateOnEnterin classAbstractCheckoutStepValidator- Returns:
- ValidationResults
-
validateOnExit
Description copied from interface:CheckoutStepValidatorDoes validation while transitioning from one CheckoutStep to another. Usually used when we want to redirect to a completely different checkout step and override the default behaviour.- Specified by:
validateOnExitin interfaceCheckoutStepValidator- Overrides:
validateOnExitin classAbstractCheckoutStepValidator- Returns:
- ValidationResults
-