Class PostalCodeModel
- java.lang.Object
-
- net.avalara.avatax.rest.client.models.PostalCodeModel
-
public class PostalCodeModel extends java.lang.ObjectRepresents 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.StringgetCountry()Getter for country Country this PostalCode locates injava.util.DategetEffDate()Getter for effDate The date when the PostalCode becomes effectivejava.util.DategetEndDate()Getter for endDate The date when the PostalCode becomes expiredjava.lang.StringgetPostalCode()Getter for postalCode The postalCodejava.lang.StringgetRegion()Getter for region The Region/State/Province this PostalCode locates injava.lang.IntegergetTaxRegionId()Getter for taxRegionId An Avalara assigned TaxRegion Id associated to the PostalCodevoidsetCountry(java.lang.String value)Setter for country Country this PostalCode locates invoidsetEffDate(java.util.Date value)Setter for effDate The date when the PostalCode becomes effectivevoidsetEndDate(java.util.Date value)Setter for endDate The date when the PostalCode becomes expiredvoidsetPostalCode(java.lang.String value)Setter for postalCode The postalCodevoidsetRegion(java.lang.String value)Setter for region The Region/State/Province this PostalCode locates invoidsetTaxRegionId(java.lang.Integer value)Setter for taxRegionId An Avalara assigned TaxRegion Id associated to the PostalCodejava.lang.StringtoString()Returns a JSON string representation of 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:
toStringin classjava.lang.Object
-
-