Class PostalCode


  • public class PostalCode
    extends java.lang.Object
    Postal code value with country code
    • Constructor Detail

      • PostalCode

        public PostalCode()
    • Method Detail

      • countryCode

        public PostalCode countryCode​(java.lang.String countryCode)
      • getCountryCode

        public java.lang.String getCountryCode()
        Country code value
        Returns:
        countryCode
      • setCountryCode

        public void setCountryCode​(java.lang.String countryCode)
      • value

        public PostalCode value​(java.lang.String value)
      • getValue

        public java.lang.String getValue()
        Postal code value
        Returns:
        value
      • setValue

        public void setValue​(java.lang.String value)
      • equals

        public boolean equals​(java.lang.Object o)
        Overrides:
        equals in class java.lang.Object
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class java.lang.Object
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object