Class DeclareNexusByAddressModel
- java.lang.Object
-
- net.avalara.avatax.rest.client.models.DeclareNexusByAddressModel
-
public class DeclareNexusByAddressModel extends java.lang.ObjectUse this object to provide an address and date range where your company does business. This address will be used to determine what jurisdictions you should declare nexus and calculate tax.
-
-
Constructor Summary
Constructors Constructor Description DeclareNexusByAddressModel()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.StringgetCity()Getter for city City component of the addressjava.lang.StringgetCountry()Getter for country Name or ISO 3166 code identifying the country.java.util.DategetEffectiveDate()Getter for effectiveDate The earliest date on which your company does business at this address.java.util.DategetEndDate()Getter for endDate The date on which your company stopped doing business at this address, or empty if your company has no plans to stop doing business at this address.java.math.BigDecimalgetLatitude()Getter for latitude Geospatial latitude measurement, in Decimal Degrees floating point format.java.lang.StringgetLine1()Getter for line1 First line of the street addressjava.lang.StringgetLine2()Getter for line2 Second line of the street addressjava.lang.StringgetLine3()Getter for line3 Third line of the street addressjava.math.BigDecimalgetLongitude()Getter for longitude Geospatial longitude measurement, in Decimal Degrees floating point format.java.lang.StringgetPostalCode()Getter for postalCode Postal Code / Zip Code component of the address.java.lang.StringgetRegion()Getter for region Name or ISO 3166 code identifying the region within the country.TextCasegetTextCase()Getter for textCase Specify the text case for the validated address result.voidsetCity(java.lang.String value)Setter for city City component of the addressvoidsetCountry(java.lang.String value)Setter for country Name or ISO 3166 code identifying the country.voidsetEffectiveDate(java.util.Date value)Setter for effectiveDate The earliest date on which your company does business at this address.voidsetEndDate(java.util.Date value)Setter for endDate The date on which your company stopped doing business at this address, or empty if your company has no plans to stop doing business at this address.voidsetLatitude(java.math.BigDecimal value)Setter for latitude Geospatial latitude measurement, in Decimal Degrees floating point format.voidsetLine1(java.lang.String value)Setter for line1 First line of the street addressvoidsetLine2(java.lang.String value)Setter for line2 Second line of the street addressvoidsetLine3(java.lang.String value)Setter for line3 Third line of the street addressvoidsetLongitude(java.math.BigDecimal value)Setter for longitude Geospatial longitude measurement, in Decimal Degrees floating point format.voidsetPostalCode(java.lang.String value)Setter for postalCode Postal Code / Zip Code component of the address.voidsetRegion(java.lang.String value)Setter for region Name or ISO 3166 code identifying the region within the country.voidsetTextCase(TextCase value)Setter for textCase Specify the text case for the validated address result.java.lang.StringtoString()Returns a JSON string representation of DeclareNexusByAddressModel
-
-
-
Method Detail
-
getEffectiveDate
public java.util.Date getEffectiveDate()
Getter for effectiveDate The earliest date on which your company does business at this address. If you omit a value in this field, nexus will be declared at the earliest possible date for this jurisdiction.
-
setEffectiveDate
public void setEffectiveDate(java.util.Date value)
Setter for effectiveDate The earliest date on which your company does business at this address. If you omit a value in this field, nexus will be declared at the earliest possible date for this jurisdiction.
-
getEndDate
public java.util.Date getEndDate()
Getter for endDate The date on which your company stopped doing business at this address, or empty if your company has no plans to stop doing business at this address.
-
setEndDate
public void setEndDate(java.util.Date value)
Setter for endDate The date on which your company stopped doing business at this address, or empty if your company has no plans to stop doing business at this address.
-
getLine1
public java.lang.String getLine1()
Getter for line1 First line of the street address
-
setLine1
public void setLine1(java.lang.String value)
Setter for line1 First line of the street address
-
getTextCase
public TextCase getTextCase()
Getter for textCase Specify the text case for the validated address result. If not specified, will return uppercase.
-
setTextCase
public void setTextCase(TextCase value)
Setter for textCase Specify the text case for the validated address result. If not specified, will return uppercase.
-
getLine2
public java.lang.String getLine2()
Getter for line2 Second line of the street address
-
setLine2
public void setLine2(java.lang.String value)
Setter for line2 Second line of the street address
-
getLine3
public java.lang.String getLine3()
Getter for line3 Third line of the street address
-
setLine3
public void setLine3(java.lang.String value)
Setter for line3 Third line of the street address
-
getCity
public java.lang.String getCity()
Getter for city City component of the address
-
setCity
public void setCity(java.lang.String value)
Setter for city City component of the address
-
getRegion
public java.lang.String getRegion()
Getter for region Name or ISO 3166 code identifying the region within the country. This field supports many different region identifiers: * Two and three character ISO 3166 region codes * Fully spelled out names of the region in ISO supported languages * Common alternative spellings for many regions For a full list of all supported codes and names, please see the Definitions API `ListRegions`.
-
setRegion
public void setRegion(java.lang.String value)
Setter for region Name or ISO 3166 code identifying the region within the country. This field supports many different region identifiers: * Two and three character ISO 3166 region codes * Fully spelled out names of the region in ISO supported languages * Common alternative spellings for many regions For a full list of all supported codes and names, please see the Definitions API `ListRegions`.
-
getCountry
public java.lang.String getCountry()
Getter for country Name or ISO 3166 code identifying the country. This field supports many different country identifiers: * Two character ISO 3166 codes * Three character ISO 3166 codes * Fully spelled out names of the country in ISO supported languages * Common alternative spellings for many countries For a full list of all supported codes and names, please see the Definitions API `ListCountries`.
-
setCountry
public void setCountry(java.lang.String value)
Setter for country Name or ISO 3166 code identifying the country. This field supports many different country identifiers: * Two character ISO 3166 codes * Three character ISO 3166 codes * Fully spelled out names of the country in ISO supported languages * Common alternative spellings for many countries For a full list of all supported codes and names, please see the Definitions API `ListCountries`.
-
getPostalCode
public java.lang.String getPostalCode()
Getter for postalCode Postal Code / Zip Code component of the address.
-
setPostalCode
public void setPostalCode(java.lang.String value)
Setter for postalCode Postal Code / Zip Code component of the address.
-
getLatitude
public java.math.BigDecimal getLatitude()
Getter for latitude Geospatial latitude measurement, in Decimal Degrees floating point format.
-
setLatitude
public void setLatitude(java.math.BigDecimal value)
Setter for latitude Geospatial latitude measurement, in Decimal Degrees floating point format.
-
getLongitude
public java.math.BigDecimal getLongitude()
Getter for longitude Geospatial longitude measurement, in Decimal Degrees floating point format.
-
setLongitude
public void setLongitude(java.math.BigDecimal value)
Setter for longitude Geospatial longitude measurement, in Decimal Degrees floating point format.
-
toString
public java.lang.String toString()
Returns a JSON string representation of DeclareNexusByAddressModel- Overrides:
toStringin classjava.lang.Object
-
-