Interface AddressValidator


public interface AddressValidator
AddressValidator represents an address validation service and an API key to that service.
  • Method Summary

    Modifier and Type Method Description
    java.lang.String getValidatorName()
    Returns the name of the service that provides the validation.
    AddressValidationResult validate​(Address address)
    Runs the Validation through the backing validation service and returns an object containing the result
  • Method Details

    • validate

      AddressValidationResult validate​(Address address)
      Runs the Validation through the backing validation service and returns an object containing the result
    • getValidatorName

      java.lang.String getValidatorName()
      Returns the name of the service that provides the validation. Ex: Lob, Shippo, UPS, etc