Class AddressInformation


  • public class AddressInformation
    extends Object
    Contains address information..
    • Constructor Detail

      • AddressInformation

        public AddressInformation()
    • Method Detail

      • getCity

        public String getCity()
        The city associated with the address..
        Returns:
        city
      • setCity

        public void setCity​(String city)
        setCity.
      • getCountry

        public String getCountry()
        Specifies the country associated with the address..
        Returns:
        country
      • setCountry

        public void setCountry​(String country)
        setCountry.
      • getFax

        public String getFax()
        A Fax number associated with the address if one is available..
        Returns:
        fax
      • setFax

        public void setFax​(String fax)
        setFax.
      • getPhone

        public String getPhone()
        A phone number associated with the address..
        Returns:
        phone
      • setPhone

        public void setPhone​(String phone)
        setPhone.
      • getState

        public String getState()
        The state or province associated with the address..
        Returns:
        state
      • setState

        public void setState​(String state)
        setState.
      • getStreet1

        public String getStreet1()
        The first line of the address..
        Returns:
        street1
      • setStreet1

        public void setStreet1​(String street1)
        setStreet1.
      • getStreet2

        public String getStreet2()
        The second line of the address (optional)..
        Returns:
        street2
      • setStreet2

        public void setStreet2​(String street2)
        setStreet2.
      • getZip

        public String getZip()
        The zip or postal code associated with the address..
        Returns:
        zip
      • setZip

        public void setZip​(String zip)
        setZip.
      • getZipPlus4

        public String getZipPlus4()
        .
        Returns:
        zipPlus4
      • setZipPlus4

        public void setZipPlus4​(String zipPlus4)
        setZipPlus4.
      • equals

        public boolean equals​(Object o)
        Compares objects.
        Overrides:
        equals in class Object
        Returns:
        true or false depending on comparison result.
      • hashCode

        public int hashCode()
        Returns the HashCode.
        Overrides:
        hashCode in class Object
      • toString

        public String toString()
        Converts the given object to string.
        Overrides:
        toString in class Object