Interface AddressVerificationResultHandler

    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      boolean handleResult​(AddressVerificationResult verificationResult, AddressData newAddress, org.springframework.ui.Model model, org.springframework.web.servlet.mvc.support.RedirectAttributes redirectModel, org.springframework.validation.Errors bindingResult, boolean customerBypass, java.lang.String successMsg)
      Given the result returned by an address verification service, determine if the address is valid or requires corrections from the user.
    • Method Detail

      • handleResult

        boolean handleResult​(AddressVerificationResult verificationResult,
                             AddressData newAddress,
                             org.springframework.ui.Model model,
                             org.springframework.web.servlet.mvc.support.RedirectAttributes redirectModel,
                             org.springframework.validation.Errors bindingResult,
                             boolean customerBypass,
                             java.lang.String successMsg)
        Given the result returned by an address verification service, determine if the address is valid or requires corrections from the user.
        Returns:
        true if the result has errors or suggested addresses, false if it is valid.