Class DeclareNexusByAddressModel
java.lang.Object
net.avalara.avatax.rest.client.models.DeclareNexusByAddressModel
Use 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 -
Method Summary
Modifier and TypeMethodDescriptiongetCity()
Getter for city City component of the addressGetter for country Name or ISO 3166 code identifying the country.Getter for effectiveDate The earliest date on which your company does business at this address.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.Getter for latitude Geospatial latitude measurement, in Decimal Degrees floating point format.getLine1()
Getter for line1 First line of the street addressgetLine2()
Getter for line2 Second line of the street addressgetLine3()
Getter for line3 Third line of the street addressGetter for longitude Geospatial longitude measurement, in Decimal Degrees floating point format.Getter for nexusTaxTypeGroup The type of nexus that this company is declaring.Replaces NexusTypeId.Getter for postalCode Postal Code / Zip Code component of the address.Getter for region Name or ISO 3166 code identifying the region within the country.Getter for taxTypeGroup The type group of nexus that this company is declaring Use [ListTaxTypeGroups](https://developer.avalara.com/api-reference/avatax/rest/v2/methods/Definitions/ListTaxTypeGroups/) API for a list of nexus tax type groups.Getter for textCase Specify the text case for the validated address result.void
Setter for city City component of the addressvoid
setCountry
(String value) Setter for country Name or ISO 3166 code identifying the country.void
setEffectiveDate
(Date value) Setter for effectiveDate The earliest date on which your company does business at this address.void
setEndDate
(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.void
setLatitude
(BigDecimal value) Setter for latitude Geospatial latitude measurement, in Decimal Degrees floating point format.void
Setter for line1 First line of the street addressvoid
Setter for line2 Second line of the street addressvoid
Setter for line3 Third line of the street addressvoid
setLongitude
(BigDecimal value) Setter for longitude Geospatial longitude measurement, in Decimal Degrees floating point format.void
setNexusTaxTypeGroup
(String value) Setter for nexusTaxTypeGroup The type of nexus that this company is declaring.Replaces NexusTypeId.void
setPostalCode
(String value) Setter for postalCode Postal Code / Zip Code component of the address.void
Setter for region Name or ISO 3166 code identifying the region within the country.void
setTaxTypeGroup
(String value) Setter for taxTypeGroup The type group of nexus that this company is declaring Use [ListTaxTypeGroups](https://developer.avalara.com/api-reference/avatax/rest/v2/methods/Definitions/ListTaxTypeGroups/) API for a list of nexus tax type groups.void
setTextCase
(TextCase value) Setter for textCase Specify the text case for the validated address result.toString()
Returns a JSON string representation of DeclareNexusByAddressModel
-
Constructor Details
-
DeclareNexusByAddressModel
public DeclareNexusByAddressModel()
-
-
Method Details
-
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
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
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
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. -
getTaxTypeGroup
Getter for taxTypeGroup The type group of nexus that this company is declaring Use [ListTaxTypeGroups](https://developer.avalara.com/api-reference/avatax/rest/v2/methods/Definitions/ListTaxTypeGroups/) API for a list of nexus tax type groups. This field is defined by Avalara. All Avalara-defined fields must match an Avalara-defined nexus object found by calling `ListNexus`. NOTE: This optional field will trigger nexus subtype lookup when populated. When using make sure TaxTypeGroup matches corresponding NexusTaxTypeGroup -
setTaxTypeGroup
Setter for taxTypeGroup The type group of nexus that this company is declaring Use [ListTaxTypeGroups](https://developer.avalara.com/api-reference/avatax/rest/v2/methods/Definitions/ListTaxTypeGroups/) API for a list of nexus tax type groups. This field is defined by Avalara. All Avalara-defined fields must match an Avalara-defined nexus object found by calling `ListNexus`. NOTE: This optional field will trigger nexus subtype lookup when populated. When using make sure TaxTypeGroup matches corresponding NexusTaxTypeGroup -
getNexusTaxTypeGroup
Getter for nexusTaxTypeGroup The type of nexus that this company is declaring.Replaces NexusTypeId. Use [ListNexusTaxTypeGroups](https://developer.avalara.com/api-reference/avatax/rest/v2/methods/Definitions/ListNexusTaxTypeGroups/) API for a list of nexus tax type groups. This field is defined by Avalara. All Avalara-defined fields must match an Avalara-defined nexus object found by calling `ListNexus`. -
setNexusTaxTypeGroup
Setter for nexusTaxTypeGroup The type of nexus that this company is declaring.Replaces NexusTypeId. Use [ListNexusTaxTypeGroups](https://developer.avalara.com/api-reference/avatax/rest/v2/methods/Definitions/ListNexusTaxTypeGroups/) API for a list of nexus tax type groups. This field is defined by Avalara. All Avalara-defined fields must match an Avalara-defined nexus object found by calling `ListNexus`. -
getLine1
Getter for line1 First line of the street address -
setLine1
Setter for line1 First line of the street address -
getTextCase
Getter for textCase Specify the text case for the validated address result. If not specified, will return uppercase. -
setTextCase
Setter for textCase Specify the text case for the validated address result. If not specified, will return uppercase. -
getLine2
Getter for line2 Second line of the street address -
setLine2
Setter for line2 Second line of the street address -
getLine3
Getter for line3 Third line of the street address -
setLine3
Setter for line3 Third line of the street address -
getCity
Getter for city City component of the address -
setCity
Setter for city City component of the address -
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
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
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
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
Getter for postalCode Postal Code / Zip Code component of the address. -
setPostalCode
Setter for postalCode Postal Code / Zip Code component of the address. -
getLatitude
Getter for latitude Geospatial latitude measurement, in Decimal Degrees floating point format. -
setLatitude
Setter for latitude Geospatial latitude measurement, in Decimal Degrees floating point format. -
getLongitude
Getter for longitude Geospatial longitude measurement, in Decimal Degrees floating point format. -
setLongitude
Setter for longitude Geospatial longitude measurement, in Decimal Degrees floating point format. -
toString
Returns a JSON string representation of DeclareNexusByAddressModel
-