Class PostalCodeModel
java.lang.Object
net.avalara.avatax.rest.client.models.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
Modifier and Type Method Description java.lang.String
getCountry()
Getter for country Country this PostalCode locates injava.util.Date
getEffDate()
Getter for effDate The date when the PostalCode becomes effectivejava.util.Date
getEndDate()
Getter for endDate The date when the PostalCode becomes expiredjava.lang.String
getPostalCode()
Getter for postalCode The postalCodejava.lang.String
getRegion()
Getter for region The Region/State/Province this PostalCode locates injava.lang.Integer
getTaxRegionId()
Getter for taxRegionId An Avalara assigned TaxRegion Id associated to the PostalCodevoid
setCountry(java.lang.String value)
Setter for country Country this PostalCode locates invoid
setEffDate(java.util.Date value)
Setter for effDate The date when the PostalCode becomes effectivevoid
setEndDate(java.util.Date value)
Setter for endDate The date when the PostalCode becomes expiredvoid
setPostalCode(java.lang.String value)
Setter for postalCode The postalCodevoid
setRegion(java.lang.String value)
Setter for region The Region/State/Province this PostalCode locates invoid
setTaxRegionId(java.lang.Integer value)
Setter for taxRegionId An Avalara assigned TaxRegion Id associated to the PostalCodejava.lang.String
toString()
Returns a JSON string representation of PostalCodeModel
-
Constructor Details
-
PostalCodeModel
public PostalCodeModel()
-
-
Method Details
-
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 classjava.lang.Object
-