Class PostalCodeModel

java.lang.Object
net.avalara.avatax.rest.client.models.PostalCodeModel

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

    • PostalCodeModel

      public PostalCodeModel()
  • Method Details

    • getCountry

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

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

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

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

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

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

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

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

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

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

      public String getPostalCode()
      Getter for postalCode The postalCode
    • setPostalCode

      public void setPostalCode(String value)
      Setter for postalCode The postalCode
    • toString

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