Class CandidateAddress

    • Method Detail

      • streetInfo

        public final String streetInfo()

        The street information of a candidate address

        Returns:
        The street information of a candidate address
      • streetNumber

        public final String streetNumber()

        The numeric portion of a candidate address.

        Returns:
        The numeric portion of a candidate address.
      • city

        public final String city()

        The city of a candidate address.

        Returns:
        The city of a candidate address.
      • state

        public final String state()

        The state of a candidate address.

        Returns:
        The state of a candidate address.
      • postalCode

        public final String postalCode()

        The postal code of a candidate address.

        Returns:
        The postal code of a candidate address.
      • postalCodePlus4

        public final String postalCodePlus4()

        The Zip + 4 or postal code + 4 of a candidate address.

        Returns:
        The Zip + 4 or postal code + 4 of a candidate address.
      • country

        public final String country()

        The country of a candidate address.

        Returns:
        The country of a candidate address.
      • hashCode

        public final int hashCode()
        Overrides:
        hashCode in class Object
      • equals

        public final boolean equals​(Object obj)
        Overrides:
        equals in class Object
      • toString

        public final String toString()
        Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be redacted from this string using a placeholder value.
        Overrides:
        toString in class Object
      • getValueForField

        public final <T> Optional<T> getValueForField​(String fieldName,
                                                      Class<T> clazz)