Class LocationModel
java.lang.Object
net.avalara.avatax.rest.client.models.LocationModel
A location where this company does business.
Some jurisdictions may require you to list all locations where your company does business.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionGetter for addressCategoryId Indicates the type of place of business represented by this location.Getter for addressTypeId Indicates whether this location is a physical place of business or a temporary salesperson location.getCity()
Getter for city The city of the physical address of this location.Getter for companyId The unique ID number of the company that operates at this location.Getter for country Name or ISO 3166 code identifying the country of the physical address of this location.Getter for county The county name of the physical address of this location.Getter for createdDate The date when this record was created.Getter for createdUserId The User ID of the user who created this record.Getter for dbaName If this location has a different business name from its legal entity name, specify the "Doing Business As" name for this location.Getter for description A friendly name for this location.Getter for effectiveDate The date when this location was opened for business, or null if not known.Getter for endDate If this place of business has closed, the date when this location closed business.getId()
Getter for id The unique ID number of this location.Getter for isDefault Set this flag to true to indicate that this is the default location for this company.Getter for isMarketplaceOutsideUsa Indicates whether the Marketplace is outside or in USAGetter for isRegistered Set this flag to true to indicate that this location has been registered with a tax authority.Getter for lastTransactionDate The most recent date when a transaction was processed for this location.getLine1()
Getter for line1 The first line of the physical address of this location.getLine2()
Getter for line2 The second line of the physical address of this location.getLine3()
Getter for line3 The third line of the physical address of this location.Getter for locationCode A code that identifies this location.Getter for modifiedDate The date/time when this record was last modified.Getter for modifiedUserId The user ID of the user who last modified this record.Getter for outletName A friendly name for this location.Getter for parameters List of location parameters.Getter for postalCode The postal code or zip code of the physical address of this location.Getter for region Name or ISO 3166 code identifying the region within the country of the physical address of this location.Getter for registeredDate The date when this location was registered with a tax authority.Getter for settings Extra information required by certain jurisdictions for filing.void
Setter for addressCategoryId Indicates the type of place of business represented by this location.void
setAddressTypeId
(AddressTypeId value) Setter for addressTypeId Indicates whether this location is a physical place of business or a temporary salesperson location.void
Setter for city The city of the physical address of this location.void
setCompanyId
(Integer value) Setter for companyId The unique ID number of the company that operates at this location.void
setCountry
(String value) Setter for country Name or ISO 3166 code identifying the country of the physical address of this location.void
Setter for county The county name of the physical address of this location.void
setCreatedDate
(Date value) Setter for createdDate The date when this record was created.void
setCreatedUserId
(Integer value) Setter for createdUserId The User ID of the user who created this record.void
setDbaName
(String value) Setter for dbaName If this location has a different business name from its legal entity name, specify the "Doing Business As" name for this location.void
setDescription
(String value) Setter for description A friendly name for this location.void
setEffectiveDate
(Date value) Setter for effectiveDate The date when this location was opened for business, or null if not known.void
setEndDate
(Date value) Setter for endDate If this place of business has closed, the date when this location closed business.void
Setter for id The unique ID number of this location.void
setIsDefault
(Boolean value) Setter for isDefault Set this flag to true to indicate that this is the default location for this company.void
Setter for isMarketplaceOutsideUsa Indicates whether the Marketplace is outside or in USAvoid
setIsRegistered
(Boolean value) Setter for isRegistered Set this flag to true to indicate that this location has been registered with a tax authority.void
setLastTransactionDate
(Date value) Setter for lastTransactionDate The most recent date when a transaction was processed for this location.void
Setter for line1 The first line of the physical address of this location.void
Setter for line2 The second line of the physical address of this location.void
Setter for line3 The third line of the physical address of this location.void
setLocationCode
(String value) Setter for locationCode A code that identifies this location.void
setModifiedDate
(Date value) Setter for modifiedDate The date/time when this record was last modified.void
setModifiedUserId
(Integer value) Setter for modifiedUserId The user ID of the user who last modified this record.void
setOutletName
(String value) Setter for outletName A friendly name for this location.void
Setter for parameters List of location parameters.void
setPostalCode
(String value) Setter for postalCode The postal code or zip code of the physical address of this location.void
Setter for region Name or ISO 3166 code identifying the region within the country of the physical address of this location.void
setRegisteredDate
(Date value) Setter for registeredDate The date when this location was registered with a tax authority.void
setSettings
(ArrayList<LocationSettingModel> value) Setter for settings Extra information required by certain jurisdictions for filing.toString()
Returns a JSON string representation of LocationModel
-
Constructor Details
-
LocationModel
public LocationModel()
-
-
Method Details
-
getId
Getter for id The unique ID number of this location. -
setId
Setter for id The unique ID number of this location. -
getCompanyId
Getter for companyId The unique ID number of the company that operates at this location. -
setCompanyId
Setter for companyId The unique ID number of the company that operates at this location. -
getLocationCode
Getter for locationCode A code that identifies this location. Must be unique within your company. -
setLocationCode
Setter for locationCode A code that identifies this location. Must be unique within your company. -
getDescription
Getter for description A friendly name for this location. -
setDescription
Setter for description A friendly name for this location. -
getAddressTypeId
Getter for addressTypeId Indicates whether this location is a physical place of business or a temporary salesperson location. -
setAddressTypeId
Setter for addressTypeId Indicates whether this location is a physical place of business or a temporary salesperson location. -
getAddressCategoryId
Getter for addressCategoryId Indicates the type of place of business represented by this location. -
setAddressCategoryId
Setter for addressCategoryId Indicates the type of place of business represented by this location. -
getIsMarketplaceOutsideUsa
Getter for isMarketplaceOutsideUsa Indicates whether the Marketplace is outside or in USA -
setIsMarketplaceOutsideUsa
Setter for isMarketplaceOutsideUsa Indicates whether the Marketplace is outside or in USA -
getLine1
Getter for line1 The first line of the physical address of this location. -
setLine1
Setter for line1 The first line of the physical address of this location. -
getLine2
Getter for line2 The second line of the physical address of this location. -
setLine2
Setter for line2 The second line of the physical address of this location. -
getLine3
Getter for line3 The third line of the physical address of this location. -
setLine3
Setter for line3 The third line of the physical address of this location. -
getCity
Getter for city The city of the physical address of this location. -
setCity
Setter for city The city of the physical address of this location. -
getCounty
Getter for county The county name of the physical address of this location. Not required. -
setCounty
Setter for county The county name of the physical address of this location. Not required. -
getRegion
Getter for region Name or ISO 3166 code identifying the region within the country of the physical address of this location. 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 of the physical address of this location. 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`. -
getPostalCode
Getter for postalCode The postal code or zip code of the physical address of this location. -
setPostalCode
Setter for postalCode The postal code or zip code of the physical address of this location. -
getCountry
Getter for country Name or ISO 3166 code identifying the country of the physical address of this location. 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 of the physical address of this location. 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`. -
getIsDefault
Getter for isDefault Set this flag to true to indicate that this is the default location for this company. -
setIsDefault
Setter for isDefault Set this flag to true to indicate that this is the default location for this company. -
getIsRegistered
Getter for isRegistered Set this flag to true to indicate that this location has been registered with a tax authority. -
setIsRegistered
Setter for isRegistered Set this flag to true to indicate that this location has been registered with a tax authority. -
getDbaName
Getter for dbaName If this location has a different business name from its legal entity name, specify the "Doing Business As" name for this location. -
setDbaName
Setter for dbaName If this location has a different business name from its legal entity name, specify the "Doing Business As" name for this location. -
getOutletName
Getter for outletName A friendly name for this location. -
setOutletName
Setter for outletName A friendly name for this location. -
getEffectiveDate
Getter for effectiveDate The date when this location was opened for business, or null if not known. -
setEffectiveDate
Setter for effectiveDate The date when this location was opened for business, or null if not known. -
getEndDate
Getter for endDate If this place of business has closed, the date when this location closed business. -
setEndDate
Setter for endDate If this place of business has closed, the date when this location closed business. -
getLastTransactionDate
Getter for lastTransactionDate The most recent date when a transaction was processed for this location. Set by AvaTax. -
setLastTransactionDate
Setter for lastTransactionDate The most recent date when a transaction was processed for this location. Set by AvaTax. -
getRegisteredDate
Getter for registeredDate The date when this location was registered with a tax authority. Not required. -
setRegisteredDate
Setter for registeredDate The date when this location was registered with a tax authority. Not required. -
getCreatedDate
Getter for createdDate The date when this record was created. -
setCreatedDate
Setter for createdDate The date when this record was created. -
getCreatedUserId
Getter for createdUserId The User ID of the user who created this record. -
setCreatedUserId
Setter for createdUserId The User ID of the user who created this record. -
getModifiedDate
Getter for modifiedDate The date/time when this record was last modified. -
setModifiedDate
Setter for modifiedDate The date/time when this record was last modified. -
getModifiedUserId
Getter for modifiedUserId The user ID of the user who last modified this record. -
setModifiedUserId
Setter for modifiedUserId The user ID of the user who last modified this record. -
getSettings
Getter for settings Extra information required by certain jurisdictions for filing. For a list of settings recognized by Avalara, query the endpoint "/api/v2/definitions/locationquestions". To determine the list of settings required for this location, query the endpoint "/api/v2/companies/(id)/locations/(id)/validate". -
setSettings
Setter for settings Extra information required by certain jurisdictions for filing. For a list of settings recognized by Avalara, query the endpoint "/api/v2/definitions/locationquestions". To determine the list of settings required for this location, query the endpoint "/api/v2/companies/(id)/locations/(id)/validate". -
getParameters
Getter for parameters List of location parameters. -
setParameters
Setter for parameters List of location parameters. -
toString
Returns a JSON string representation of LocationModel
-