Class ResponsivePaymentCheckoutStepValidator

All Implemented Interfaces:
CheckoutStepValidator

public class ResponsivePaymentCheckoutStepValidator extends AbstractCheckoutStepValidator
Validator for Payment in Checkout
  • Constructor Details

    • ResponsivePaymentCheckoutStepValidator

      public ResponsivePaymentCheckoutStepValidator()
  • Method Details

    • getCommonUtils

      public CommonUtils getCommonUtils()
      Returns:
      the commonUtils
    • setCommonUtils

      public void setCommonUtils(CommonUtils commonUtils)
      Parameters:
      commonUtils - the commonUtils to set
    • validateOnEnter

      public ValidationResults validateOnEnter(org.springframework.web.servlet.mvc.support.RedirectAttributes redirectAttributes)
      Description copied from interface: CheckoutStepValidator
      This method should be implemented to validate whether all the required details are present before entering the checkout step.
      Specified by:
      validateOnEnter in interface CheckoutStepValidator
      Specified by:
      validateOnEnter in class AbstractCheckoutStepValidator
      Returns:
      ValidationResults
    • getOaaCheckoutFacade

      protected OaaCheckoutFacade getOaaCheckoutFacade()
      Returns the OaaCheckoutFacade.
      Returns:
      OaaCheckoutFacade
    • setOaaCheckoutFacade

      public void setOaaCheckoutFacade(OaaCheckoutFacade oaaCheckoutFacade)
      Sets the OaaCheckoutFacade.
      Parameters:
      oaaCheckoutFacade -
    • doSourcingAndRedirect

      protected ValidationResults doSourcingAndRedirect(org.springframework.web.servlet.mvc.support.RedirectAttributes redirectAttributes)
      Performs Sourcing for current session cart and redirects to the corresponding checkout step.
      Parameters:
      redirectAttributes -
      Returns:
      ValidationResults