Class PostalAddress

  • All Implemented Interfaces:
    java.io.Serializable

    public class PostalAddress
    extends java.lang.Object
    implements java.io.Serializable

    Class that represents a Postal Address with all its information not dependent of the specification or TSL version.

    Project:

    Library for the integration with the services of @Firma, eVisor and TS@.

    Version:
    1.0, 10/11/2020.
    See Also:
    Serialized Form
    • Constructor Summary

      Constructors 
      Constructor Description
      PostalAddress()
      Constructor method for the class PostalAddress.java.
      PostalAddress​(java.lang.String streetAddress, java.lang.String localityAddress, java.lang.String stateOrProvinceAddress, java.lang.String postalCodeAddress, java.lang.String countryNameAddress)
      Constructor method for the class PostalAddress.java.
    • Constructor Detail

      • PostalAddress

        public PostalAddress()
        Constructor method for the class PostalAddress.java.
      • PostalAddress

        public PostalAddress​(java.lang.String streetAddress,
                             java.lang.String localityAddress,
                             java.lang.String stateOrProvinceAddress,
                             java.lang.String postalCodeAddress,
                             java.lang.String countryNameAddress)
        Constructor method for the class PostalAddress.java.
        Parameters:
        streetAddress - String with the street address of the Postal Address.
        localityAddress - String with the locality of the Postal Address.
        stateOrProvinceAddress - String with the state or province of the Postal Address.
        postalCodeAddress - String with the postal code of the Postal Address.
        countryNameAddress - String with the country name of the Postal Address.
    • Method Detail

      • getStreet

        public final java.lang.String getStreet()
        Gets the value of the attribute street.
        Returns:
        the value of the attribute street.
      • setStreet

        public final void setStreet​(java.lang.String streetParam)
        Sets the value of the attribute street.
        Parameters:
        streetParam - The value for the attribute street.
      • getLocality

        public final java.lang.String getLocality()
        Gets the value of the attribute locality.
        Returns:
        the value of the attribute locality.
      • setLocality

        public final void setLocality​(java.lang.String localityParam)
        Sets the value of the attribute locality.
        Parameters:
        localityParam - The value for the attribute locality.
      • getStateOrProvince

        public final java.lang.String getStateOrProvince()
        Gets the value of the attribute stateOrProvince.
        Returns:
        the value of the attribute stateOrProvince.
      • setStateOrProvince

        public final void setStateOrProvince​(java.lang.String stateOrProvinceParam)
        Sets the value of the attribute stateOrProvince.
        Parameters:
        stateOrProvinceParam - The value for the attribute stateOrProvince.
      • getPostalCode

        public final java.lang.String getPostalCode()
        Gets the value of the attribute postalCode.
        Returns:
        the value of the attribute postalCode.
      • setPostalCode

        public final void setPostalCode​(java.lang.String postalCodeParam)
        Sets the value of the attribute postalCode.
        Parameters:
        postalCodeParam - The value for the attribute postalCode.
      • getCountryName

        public final java.lang.String getCountryName()
        Gets the value of the attribute countryName.
        Returns:
        the value of the attribute countryName.
      • setCountryName

        public final void setCountryName​(java.lang.String countryNameParam)
        Sets the value of the attribute countryName.
        Parameters:
        countryNameParam - The value for the attribute countryName.