Interface AddressVerificationService<DECISION,​FIELD_ERROR>

    • Method Detail

      • verifyAddress

        AddressVerificationResultData<DECISION,​FIELD_ERROR> verifyAddress​(AddressModel addressModel)
        This method takes in an AddressModel, verifies it using the chosen implementation and returns an AddressVerificationResultData.
        Parameters:
        addressModel - the address to be verified.
        Returns:
        an AddressVerificationResultData that holds the verification data.
      • isCustomerAllowedToIgnoreSuggestions

        boolean isCustomerAllowedToIgnoreSuggestions()
        Used to determine if the customer is allowed to ignore the address suggestions of this AddressVerificationService and proceed with checkout.
        Returns:
        true if the user can bypass address suggestions, false if not.