Interface AddressVerificationFacade

  • All Known Implementing Classes:
    DefaultAddressVerificationFacade

    public interface AddressVerificationFacade
    Facade for interacting with the AddressVerificationService.
    • Method Detail

      • verifyAddressData

        AddressVerificationResult verifyAddressData​(AddressData addressData)
        Calls the configurable AddressVerificationService to verify the incoming address. If the address is invalid the service will provide a list of possible addresses for the customer to choose from.
        Parameters:
        addressData - the address data to be verified.
        Returns:
        a POJO containing the set of suggested addresses as well as any field errors.
      • isCustomerAllowedToIgnoreAddressSuggestions

        boolean isCustomerAllowedToIgnoreAddressSuggestions()
        Checks the AddressVerificationService to see if the customer can ignore the suggestions that were provided.
        Returns:
        true if the customer can ignore suggestions, false if not.