Class PostalCodeModel
java.lang.Object
net.avalara.avatax.rest.client.models.PostalCodeModel
Represents a PostalCode and its associated data like: country, region, effective dates, etc.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionGetter for country Country this PostalCode locates inGetter for effDate The date when the PostalCode becomes effectiveGetter for endDate The date when the PostalCode becomes expiredGetter for postalCode The postalCodeGetter for region The Region/State/Province this PostalCode locates inGetter for taxRegionId An Avalara assigned TaxRegion Id associated to the PostalCodevoid
setCountry
(String value) Setter for country Country this PostalCode locates invoid
setEffDate
(Date value) Setter for effDate The date when the PostalCode becomes effectivevoid
setEndDate
(Date value) Setter for endDate The date when the PostalCode becomes expiredvoid
setPostalCode
(String value) Setter for postalCode The postalCodevoid
Setter for region The Region/State/Province this PostalCode locates invoid
setTaxRegionId
(Integer value) Setter for taxRegionId An Avalara assigned TaxRegion Id associated to the PostalCodetoString()
Returns a JSON string representation of PostalCodeModel
-
Constructor Details
-
PostalCodeModel
public PostalCodeModel()
-
-
Method Details
-
getCountry
Getter for country Country this PostalCode locates in -
setCountry
Setter for country Country this PostalCode locates in -
getRegion
Getter for region The Region/State/Province this PostalCode locates in -
setRegion
Setter for region The Region/State/Province this PostalCode locates in -
getTaxRegionId
Getter for taxRegionId An Avalara assigned TaxRegion Id associated to the PostalCode -
setTaxRegionId
Setter for taxRegionId An Avalara assigned TaxRegion Id associated to the PostalCode -
getEffDate
Getter for effDate The date when the PostalCode becomes effective -
setEffDate
Setter for effDate The date when the PostalCode becomes effective -
getEndDate
Getter for endDate The date when the PostalCode becomes expired -
setEndDate
Setter for endDate The date when the PostalCode becomes expired -
getPostalCode
Getter for postalCode The postalCode -
setPostalCode
Setter for postalCode The postalCode -
toString
Returns a JSON string representation of PostalCodeModel
-