Class AddressInformation


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

      • AddressInformation

        public AddressInformation()
    • Method Detail

      • getAddress1

        public String getAddress1()
        First Line of the address. Maximum length: 100 characters..
        Returns:
        address1
      • setAddress1

        public void setAddress1​(String address1)
        setAddress1.
      • getAddress2

        public String getAddress2()
        Second Line of the address. Maximum length: 100 characters..
        Returns:
        address2
      • setAddress2

        public void setAddress2​(String address2)
        setAddress2.
      • 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.
      • getPostalCode

        public String getPostalCode()
        .
        Returns:
        postalCode
      • setPostalCode

        public void setPostalCode​(String postalCode)
        setPostalCode.
      • stateOrProvince

        public AddressInformation stateOrProvince​(String stateOrProvince)
        stateOrProvince.
        Returns:
        AddressInformation
      • getStateOrProvince

        public String getStateOrProvince()
        .
        Returns:
        stateOrProvince
      • setStateOrProvince

        public void setStateOrProvince​(String stateOrProvince)
        setStateOrProvince.
      • 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