Class PostalCodeModel


  • public class PostalCodeModel
    extends java.lang.Object
    Represents a PostalCode and its associated data like: country, region, effective dates, etc.
    • Constructor Summary

      Constructors 
      Constructor Description
      PostalCodeModel()  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.lang.String getCountry()
      Getter for country Country this PostalCode locates in
      java.util.Date getEffDate()
      Getter for effDate The date when the PostalCode becomes effective
      java.util.Date getEndDate()
      Getter for endDate The date when the PostalCode becomes expired
      java.lang.String getPostalCode()
      Getter for postalCode The postalCode
      java.lang.String getRegion()
      Getter for region The Region/State/Province this PostalCode locates in
      java.lang.Integer getTaxRegionId()
      Getter for taxRegionId An Avalara assigned TaxRegion Id associated to the PostalCode
      void setCountry​(java.lang.String value)
      Setter for country Country this PostalCode locates in
      void setEffDate​(java.util.Date value)
      Setter for effDate The date when the PostalCode becomes effective
      void setEndDate​(java.util.Date value)
      Setter for endDate The date when the PostalCode becomes expired
      void setPostalCode​(java.lang.String value)
      Setter for postalCode The postalCode
      void setRegion​(java.lang.String value)
      Setter for region The Region/State/Province this PostalCode locates in
      void setTaxRegionId​(java.lang.Integer value)
      Setter for taxRegionId An Avalara assigned TaxRegion Id associated to the PostalCode
      java.lang.String toString()
      Returns a JSON string representation of PostalCodeModel
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
    • Constructor Detail

      • PostalCodeModel

        public PostalCodeModel()
    • Method Detail

      • getCountry

        public java.lang.String getCountry()
        Getter for country Country this PostalCode locates in
      • setCountry

        public void setCountry​(java.lang.String value)
        Setter for country Country this PostalCode locates in
      • getRegion

        public java.lang.String getRegion()
        Getter for region The Region/State/Province this PostalCode locates in
      • setRegion

        public void setRegion​(java.lang.String value)
        Setter for region The Region/State/Province this PostalCode locates in
      • getTaxRegionId

        public java.lang.Integer getTaxRegionId()
        Getter for taxRegionId An Avalara assigned TaxRegion Id associated to the PostalCode
      • setTaxRegionId

        public void setTaxRegionId​(java.lang.Integer value)
        Setter for taxRegionId An Avalara assigned TaxRegion Id associated to the PostalCode
      • getEffDate

        public java.util.Date getEffDate()
        Getter for effDate The date when the PostalCode becomes effective
      • setEffDate

        public void setEffDate​(java.util.Date value)
        Setter for effDate The date when the PostalCode becomes effective
      • getEndDate

        public java.util.Date getEndDate()
        Getter for endDate The date when the PostalCode becomes expired
      • setEndDate

        public void setEndDate​(java.util.Date value)
        Setter for endDate The date when the PostalCode becomes expired
      • getPostalCode

        public java.lang.String getPostalCode()
        Getter for postalCode The postalCode
      • setPostalCode

        public void setPostalCode​(java.lang.String value)
        Setter for postalCode The postalCode
      • toString

        public java.lang.String toString()
        Returns a JSON string representation of PostalCodeModel
        Overrides:
        toString in class java.lang.Object