Interface CheckoutStepValidator

    • Method Detail

      • validateOnEnter

        ValidationResults validateOnEnter​(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.
        Parameters:
        redirectAttributes -
        Returns:
        ValidationResults
      • validateOnExit

        ValidationResults validateOnExit()
        Does 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.
        Returns:
        ValidationResults