verifyAddress
public java.util.List<Address> verifyAddress(Address address)
throws AddressVerificationException
Verifies the address and returns a collection of addresses. If the address was
invalid but close to a match, this method should return a list of one or more addresses that may be valid.
If the address is valid, implementations should return the valid address in the list.
Implementations may set the tokenized address, zip four, and verification level. If the address could not
be validated, implementors should throw an AddressValidationException.
For example, an address may be close, but missing zip four. This service should return
the address in question with zip four populated.
- Specified by:
verifyAddress in interface AddressService
- Returns:
- Throws:
AddressVerificationException