Class CompanyModel
java.lang.Object
net.avalara.avatax.rest.client.models.CompanyModel
A company or business entity.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionGetter for accountId The unique ID number of the account this company belongs to.Getter for baseCurrencyCode This is the three character ISO-4217 currency code of the default currency used by this company.Getter for businessIdentificationNo Business Identification NoGetter for companyCode A unique code that references this company within your account.Getter for contacts Optional: A list of contacts defined for this company.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 defaultCountry The two character ISO-3166 country code of the default country for this company.Getter for defaultLocationId If set, this is the unique ID number of the default location for this company.Getter for exemptCerts DEPRECATED - Date: 9/15/2017, Version: 17.10, Message: Please use the `ListCertificates` API.Getter for hasProfile Set this flag to true to give this company its own unique tax profile.getId()
Getter for id The unique ID number of this company.Getter for inProgress Set this value to true to indicate that you are still working to finish configuring this company.Getter for isActive This flag indicates whether tax activity can occur for this company.Getter for isDefault This flag is true if this company is the default company for this account.Getter for isFein Set this field to true if the taxPayerIdNumber is a FEIN.Getter for isReportingEntity Set this flag to true if this company must file its own tax returns.Getter for isTest Set this flag to true to indicate that this company is a test company.getItems()
Getter for items Optional: A list of items defined for this company.Getter for locations Optional: A list of locations defined for this company.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 mossCountry The country code of the mini-one-stop-shop used for Value Added Tax (VAT) processing.Getter for mossId The unique identifier of the mini-one-stop-shop used for Value Added Tax (VAT) processing.getName()
Getter for name The name of this company, as shown to customers.getNexus()
Getter for nexus Optional: A list of nexus defined for this company.Getter for nonReportingChildCompanies Optional: A list of non reporting child companies associated with this company.Getter for parameters The parameters of a companyGetter for parentCompanyId If this company is fully owned by another company, this is the unique identity of the parent company.Getter for roundingLevelId Indicates whether this company prefers to round amounts at the document level or line level.Getter for settings Optional: A list of settings defined for this company.Getter for sstEffectiveDate If this company participates in Streamlined Sales Tax, this is the date when the company joined the SST program.Getter for sstPid If this company files Streamlined Sales Tax, this is the PID of this company as defined by the Streamlined Sales Tax governing board.Getter for supplierandcustomers The customers and suppliers of a companyGetter for taxCodes Optional: A list of tax codes defined for this company.Getter for taxDependencyLevelId Used to apply tax detail dependency at a jurisdiction level.Getter for taxpayerIdNumber For United States companies, this field contains your Taxpayer Identification Number.Getter for taxRules Optional: A list of tax rules defined for this company.getUpcs()
Getter for upcs Optional: A list of UPCs defined for this company.Getter for warningsEnabled Set this value to true to receive warnings in API calls via SOAP.void
setAccountId
(Integer value) Setter for accountId The unique ID number of the account this company belongs to.void
setBaseCurrencyCode
(String value) Setter for baseCurrencyCode This is the three character ISO-4217 currency code of the default currency used by this company.void
Setter for businessIdentificationNo Business Identification Novoid
setCompanyCode
(String value) Setter for companyCode A unique code that references this company within your account.void
setContacts
(ArrayList<ContactModel> value) Setter for contacts Optional: A list of contacts defined for this company.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
setDefaultCountry
(String value) Setter for defaultCountry The two character ISO-3166 country code of the default country for this company.void
setDefaultLocationId
(Integer value) Setter for defaultLocationId If set, this is the unique ID number of the default location for this company.void
setExemptCerts
(ArrayList<EcmsModel> value) Setter for exemptCerts DEPRECATED - Date: 9/15/2017, Version: 17.10, Message: Please use the `ListCertificates` API.void
setHasProfile
(Boolean value) Setter for hasProfile Set this flag to true to give this company its own unique tax profile.void
Setter for id The unique ID number of this company.void
setInProgress
(Boolean value) Setter for inProgress Set this value to true to indicate that you are still working to finish configuring this company.void
setIsActive
(Boolean value) Setter for isActive This flag indicates whether tax activity can occur for this company.void
setIsDefault
(Boolean value) Setter for isDefault This flag is true if this company is the default company for this account.void
Setter for isFein Set this field to true if the taxPayerIdNumber is a FEIN.void
setIsReportingEntity
(Boolean value) Setter for isReportingEntity Set this flag to true if this company must file its own tax returns.void
Setter for isTest Set this flag to true to indicate that this company is a test company.void
Setter for items Optional: A list of items defined for this company.void
setLocations
(ArrayList<LocationModel> value) Setter for locations Optional: A list of locations defined for this company.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
setMossCountry
(String value) Setter for mossCountry The country code of the mini-one-stop-shop used for Value Added Tax (VAT) processing.void
Setter for mossId The unique identifier of the mini-one-stop-shop used for Value Added Tax (VAT) processing.void
Setter for name The name of this company, as shown to customers.void
setNexus
(ArrayList<NexusModel> value) Setter for nexus Optional: A list of nexus defined for this company.void
Setter for nonReportingChildCompanies Optional: A list of non reporting child companies associated with this company.void
Setter for parameters The parameters of a companyvoid
setParentCompanyId
(Integer value) Setter for parentCompanyId If this company is fully owned by another company, this is the unique identity of the parent company.void
Setter for roundingLevelId Indicates whether this company prefers to round amounts at the document level or line level.void
setSettings
(ArrayList<SettingModel> value) Setter for settings Optional: A list of settings defined for this company.void
setSstEffectiveDate
(Date value) Setter for sstEffectiveDate If this company participates in Streamlined Sales Tax, this is the date when the company joined the SST program.void
Setter for sstPid If this company files Streamlined Sales Tax, this is the PID of this company as defined by the Streamlined Sales Tax governing board.void
Setter for supplierandcustomers The customers and suppliers of a companyvoid
setTaxCodes
(ArrayList<TaxCodeModel> value) Setter for taxCodes Optional: A list of tax codes defined for this company.void
Setter for taxDependencyLevelId Used to apply tax detail dependency at a jurisdiction level.void
setTaxpayerIdNumber
(String value) Setter for taxpayerIdNumber For United States companies, this field contains your Taxpayer Identification Number.void
setTaxRules
(ArrayList<TaxRuleModel> value) Setter for taxRules Optional: A list of tax rules defined for this company.void
Setter for upcs Optional: A list of UPCs defined for this company.void
setWarningsEnabled
(Boolean value) Setter for warningsEnabled Set this value to true to receive warnings in API calls via SOAP.toString()
Returns a JSON string representation of CompanyModel
-
Constructor Details
-
CompanyModel
public CompanyModel()
-
-
Method Details
-
getId
Getter for id The unique ID number of this company. -
setId
Setter for id The unique ID number of this company. -
getAccountId
Getter for accountId The unique ID number of the account this company belongs to. -
setAccountId
Setter for accountId The unique ID number of the account this company belongs to. -
getParentCompanyId
Getter for parentCompanyId If this company is fully owned by another company, this is the unique identity of the parent company. -
setParentCompanyId
Setter for parentCompanyId If this company is fully owned by another company, this is the unique identity of the parent company. -
getSstPid
Getter for sstPid If this company files Streamlined Sales Tax, this is the PID of this company as defined by the Streamlined Sales Tax governing board. -
setSstPid
Setter for sstPid If this company files Streamlined Sales Tax, this is the PID of this company as defined by the Streamlined Sales Tax governing board. -
getCompanyCode
Getter for companyCode A unique code that references this company within your account. -
setCompanyCode
Setter for companyCode A unique code that references this company within your account. -
getName
Getter for name The name of this company, as shown to customers. -
setName
Setter for name The name of this company, as shown to customers. -
getIsDefault
Getter for isDefault This flag is true if this company is the default company for this account. Only one company may be set as the default. -
setIsDefault
Setter for isDefault This flag is true if this company is the default company for this account. Only one company may be set as the default. -
getDefaultLocationId
Getter for defaultLocationId If set, this is the unique ID number of the default location for this company. -
setDefaultLocationId
Setter for defaultLocationId If set, this is the unique ID number of the default location for this company. -
getIsActive
Getter for isActive This flag indicates whether tax activity can occur for this company. Set this flag to true to permit the company to process transactions. -
setIsActive
Setter for isActive This flag indicates whether tax activity can occur for this company. Set this flag to true to permit the company to process transactions. -
getTaxpayerIdNumber
Getter for taxpayerIdNumber For United States companies, this field contains your Taxpayer Identification Number. This is a nine digit number that is usually called an EIN for an Employer Identification Number if this company is a corporation, or SSN for a Social Security Number if this company is a person. This value is required if the address provided is inside the US and if you subscribed to the Avalara Managed Returns or SST Certified Service Provider service. Otherwise it is optional. -
setTaxpayerIdNumber
Setter for taxpayerIdNumber For United States companies, this field contains your Taxpayer Identification Number. This is a nine digit number that is usually called an EIN for an Employer Identification Number if this company is a corporation, or SSN for a Social Security Number if this company is a person. This value is required if the address provided is inside the US and if you subscribed to the Avalara Managed Returns or SST Certified Service Provider service. Otherwise it is optional. -
getIsFein
Getter for isFein Set this field to true if the taxPayerIdNumber is a FEIN. -
setIsFein
Setter for isFein Set this field to true if the taxPayerIdNumber is a FEIN. -
getHasProfile
Getter for hasProfile Set this flag to true to give this company its own unique tax profile. If this flag is true, this company will have its own Nexus, TaxRule, TaxCode, and Item definitions. If this flag is false, this company will inherit all profile values from its parent. -
setHasProfile
Setter for hasProfile Set this flag to true to give this company its own unique tax profile. If this flag is true, this company will have its own Nexus, TaxRule, TaxCode, and Item definitions. If this flag is false, this company will inherit all profile values from its parent. -
getIsReportingEntity
Getter for isReportingEntity Set this flag to true if this company must file its own tax returns. For users who have Returns enabled, this flag turns on monthly Worksheet generation for the company. -
setIsReportingEntity
Setter for isReportingEntity Set this flag to true if this company must file its own tax returns. For users who have Returns enabled, this flag turns on monthly Worksheet generation for the company. -
getSstEffectiveDate
Getter for sstEffectiveDate If this company participates in Streamlined Sales Tax, this is the date when the company joined the SST program. -
setSstEffectiveDate
Setter for sstEffectiveDate If this company participates in Streamlined Sales Tax, this is the date when the company joined the SST program. -
getDefaultCountry
Getter for defaultCountry The two character ISO-3166 country code of the default country for this company. -
setDefaultCountry
Setter for defaultCountry The two character ISO-3166 country code of the default country for this company. -
getBaseCurrencyCode
Getter for baseCurrencyCode This is the three character ISO-4217 currency code of the default currency used by this company. -
setBaseCurrencyCode
Setter for baseCurrencyCode This is the three character ISO-4217 currency code of the default currency used by this company. -
getRoundingLevelId
Getter for roundingLevelId Indicates whether this company prefers to round amounts at the document level or line level. -
setRoundingLevelId
Setter for roundingLevelId Indicates whether this company prefers to round amounts at the document level or line level. -
getWarningsEnabled
Getter for warningsEnabled Set this value to true to receive warnings in API calls via SOAP. -
setWarningsEnabled
Setter for warningsEnabled Set this value to true to receive warnings in API calls via SOAP. -
getIsTest
Getter for isTest Set this flag to true to indicate that this company is a test company. If you have Returns enabled, Test companies will not file tax returns and can be used for validation purposes. -
setIsTest
Setter for isTest Set this flag to true to indicate that this company is a test company. If you have Returns enabled, Test companies will not file tax returns and can be used for validation purposes. -
getTaxDependencyLevelId
Getter for taxDependencyLevelId Used to apply tax detail dependency at a jurisdiction level. -
setTaxDependencyLevelId
Setter for taxDependencyLevelId Used to apply tax detail dependency at a jurisdiction level. -
getInProgress
Getter for inProgress Set this value to true to indicate that you are still working to finish configuring this company. While this value is true, no tax reporting will occur and the company will not be usable for transactions. -
setInProgress
Setter for inProgress Set this value to true to indicate that you are still working to finish configuring this company. While this value is true, no tax reporting will occur and the company will not be usable for transactions. -
getBusinessIdentificationNo
Getter for businessIdentificationNo Business Identification No -
setBusinessIdentificationNo
Setter for businessIdentificationNo Business Identification No -
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. -
getContacts
Getter for contacts Optional: A list of contacts defined for this company. To fetch this list, add the query string `?$include=Contacts` to your URL. When calling `CreateCompany`, you may provide a list of objects in this element and they will be created alongside the company. The `UpdateCompany` API does not permit updating nested objects. -
setContacts
Setter for contacts Optional: A list of contacts defined for this company. To fetch this list, add the query string `?$include=Contacts` to your URL. When calling `CreateCompany`, you may provide a list of objects in this element and they will be created alongside the company. The `UpdateCompany` API does not permit updating nested objects. -
getItems
Getter for items Optional: A list of items defined for this company. To fetch this list, add the query string `?$include=Items` to your URL. When calling `CreateCompany`, you may provide a list of objects in this element and they will be created alongside the company. The `UpdateCompany` API does not permit updating nested objects. -
setItems
Setter for items Optional: A list of items defined for this company. To fetch this list, add the query string `?$include=Items` to your URL. When calling `CreateCompany`, you may provide a list of objects in this element and they will be created alongside the company. The `UpdateCompany` API does not permit updating nested objects. -
getLocations
Getter for locations Optional: A list of locations defined for this company. To fetch this list, add the query string `?$include=Locations` to your URL. When calling `CreateCompany`, you may provide a list of objects in this element and they will be created alongside the company. The `UpdateCompany` API does not permit updating nested objects. -
setLocations
Setter for locations Optional: A list of locations defined for this company. To fetch this list, add the query string `?$include=Locations` to your URL. When calling `CreateCompany`, you may provide a list of objects in this element and they will be created alongside the company. The `UpdateCompany` API does not permit updating nested objects. -
getNexus
Getter for nexus Optional: A list of nexus defined for this company. To fetch this list, add the query string `?$include=Nexus` to your URL. When calling `CreateCompany`, you may provide a list of objects in this element and they will be created alongside the company. The `UpdateCompany` API does not permit updating nested objects. -
setNexus
Setter for nexus Optional: A list of nexus defined for this company. To fetch this list, add the query string `?$include=Nexus` to your URL. When calling `CreateCompany`, you may provide a list of objects in this element and they will be created alongside the company. The `UpdateCompany` API does not permit updating nested objects. -
getSettings
Getter for settings Optional: A list of settings defined for this company. To fetch this list, add the query string `?$include=Settings` to your URL. When calling `CreateCompany`, you may provide a list of objects in this element and they will be created alongside the company. The `UpdateCompany` API does not permit updating nested objects. -
setSettings
Setter for settings Optional: A list of settings defined for this company. To fetch this list, add the query string `?$include=Settings` to your URL. When calling `CreateCompany`, you may provide a list of objects in this element and they will be created alongside the company. The `UpdateCompany` API does not permit updating nested objects. -
getTaxCodes
Getter for taxCodes Optional: A list of tax codes defined for this company. To fetch this list, add the query string `?$include=TaxCodes` to your URL. When calling `CreateCompany`, you may provide a list of objects in this element and they will be created alongside the company. The `UpdateCompany` API does not permit updating nested objects. -
setTaxCodes
Setter for taxCodes Optional: A list of tax codes defined for this company. To fetch this list, add the query string `?$include=TaxCodes` to your URL. When calling `CreateCompany`, you may provide a list of objects in this element and they will be created alongside the company. The `UpdateCompany` API does not permit updating nested objects. -
getTaxRules
Getter for taxRules Optional: A list of tax rules defined for this company. To fetch this list, add the query string `?$include=TaxRules` to your URL. When calling `CreateCompany`, you may provide a list of objects in this element and they will be created alongside the company. The `UpdateCompany` API does not permit updating nested objects. -
setTaxRules
Setter for taxRules Optional: A list of tax rules defined for this company. To fetch this list, add the query string `?$include=TaxRules` to your URL. When calling `CreateCompany`, you may provide a list of objects in this element and they will be created alongside the company. The `UpdateCompany` API does not permit updating nested objects. -
getUpcs
Getter for upcs Optional: A list of UPCs defined for this company. To fetch this list, add the query string `?$include=UPCs` to your URL. When calling `CreateCompany`, you may provide a list of objects in this element and they will be created alongside the company. The `UpdateCompany` API does not permit updating nested objects. -
setUpcs
Setter for upcs Optional: A list of UPCs defined for this company. To fetch this list, add the query string `?$include=UPCs` to your URL. When calling `CreateCompany`, you may provide a list of objects in this element and they will be created alongside the company. The `UpdateCompany` API does not permit updating nested objects. -
getNonReportingChildCompanies
Getter for nonReportingChildCompanies Optional: A list of non reporting child companies associated with this company. To fetch this list, add the query string `?$include=NonReportingChildren` to your URL. -
setNonReportingChildCompanies
Setter for nonReportingChildCompanies Optional: A list of non reporting child companies associated with this company. To fetch this list, add the query string `?$include=NonReportingChildren` to your URL. -
getExemptCerts
Getter for exemptCerts DEPRECATED - Date: 9/15/2017, Version: 17.10, Message: Please use the `ListCertificates` API. -
setExemptCerts
Setter for exemptCerts DEPRECATED - Date: 9/15/2017, Version: 17.10, Message: Please use the `ListCertificates` API. -
getMossId
Getter for mossId The unique identifier of the mini-one-stop-shop used for Value Added Tax (VAT) processing. -
setMossId
Setter for mossId The unique identifier of the mini-one-stop-shop used for Value Added Tax (VAT) processing. -
getMossCountry
Getter for mossCountry The country code of the mini-one-stop-shop used for Value Added Tax (VAT) processing. -
setMossCountry
Setter for mossCountry The country code of the mini-one-stop-shop used for Value Added Tax (VAT) processing. -
getParameters
Getter for parameters The parameters of a company -
setParameters
Setter for parameters The parameters of a company -
getSupplierandcustomers
Getter for supplierandcustomers The customers and suppliers of a company -
setSupplierandcustomers
Setter for supplierandcustomers The customers and suppliers of a company -
toString
Returns a JSON string representation of CompanyModel
-