public class CompanyModel
extends java.lang.Object
Constructor and Description |
---|
CompanyModel() |
Modifier and Type | Method and Description |
---|---|
java.lang.Integer |
getAccountId()
Getter for accountId
The unique ID number of the account this company belongs to.
|
java.lang.String |
getBaseCurrencyCode()
Getter for baseCurrencyCode
This is the three character ISO-4217 currency code of the default currency used by this company.
|
java.lang.String |
getBusinessIdentificationNo()
Getter for businessIdentificationNo
Business Identification No
|
java.lang.String |
getCompanyCode()
Getter for companyCode
A unique code that references this company within your account.
|
java.util.ArrayList<ContactModel> |
getContacts()
Getter for contacts
Optional: A list of contacts defined for this company.
|
java.util.Date |
getCreatedDate()
Getter for createdDate
The date when this record was created.
|
java.lang.Integer |
getCreatedUserId()
Getter for createdUserId
The User ID of the user who created this record.
|
java.lang.String |
getDefaultCountry()
Getter for defaultCountry
The two character ISO-3166 country code of the default country for this company.
|
java.lang.Integer |
getDefaultLocationId()
Getter for defaultLocationId
If set, this is the unique ID number of the default location for this company.
|
java.util.ArrayList<EcmsModel> |
getExemptCerts()
Getter for exemptCerts
DEPRECATED - Date: 9/15/2017, Version: 17.10, Message: Please use the `ListCertificates` API.
|
java.lang.Boolean |
getHasProfile()
Getter for hasProfile
Set this flag to true to give this company its own unique tax profile.
|
java.lang.Integer |
getId()
Getter for id
The unique ID number of this company.
|
java.lang.Boolean |
getInProgress()
Getter for inProgress
Set this value to true to indicate that you are still working to finish configuring this company.
|
java.lang.Boolean |
getIsActive()
Getter for isActive
This flag indicates whether tax activity can occur for this company.
|
java.lang.Boolean |
getIsDefault()
Getter for isDefault
This flag is true if this company is the default company for this account.
|
java.lang.Boolean |
getIsReportingEntity()
Getter for isReportingEntity
Set this flag to true if this company must file its own tax returns.
|
java.lang.Boolean |
getIsTest()
Getter for isTest
Set this flag to true to indicate that this company is a test company.
|
java.util.ArrayList<ItemModel> |
getItems()
Getter for items
Optional: A list of items defined for this company.
|
java.util.ArrayList<LocationModel> |
getLocations()
Getter for locations
Optional: A list of locations defined for this company.
|
java.util.Date |
getModifiedDate()
Getter for modifiedDate
The date/time when this record was last modified.
|
java.lang.Integer |
getModifiedUserId()
Getter for modifiedUserId
The user ID of the user who last modified this record.
|
java.lang.String |
getMossCountry()
Getter for mossCountry
The country code of the mini-one-stop-shop used for Value Added Tax (VAT) processing.
|
java.lang.String |
getMossId()
Getter for mossId
The unique identifier of the mini-one-stop-shop used for Value Added Tax (VAT) processing.
|
java.lang.String |
getName()
Getter for name
The name of this company, as shown to customers.
|
java.util.ArrayList<NexusModel> |
getNexus()
Getter for nexus
Optional: A list of nexus defined for this company.
|
java.util.ArrayList<CompanyModel> |
getNonReportingChildCompanies()
Getter for nonReportingChildCompanies
Optional: A list of non reporting child companies associated with this company.
|
java.lang.Integer |
getParentCompanyId()
Getter for parentCompanyId
If this company is fully owned by another company, this is the unique identity of the parent company.
|
RoundingLevelId |
getRoundingLevelId()
Getter for roundingLevelId
Indicates whether this company prefers to round amounts at the document level or line level.
|
java.util.ArrayList<SettingModel> |
getSettings()
Getter for settings
Optional: A list of settings defined for this company.
|
java.util.Date |
getSstEffectiveDate()
Getter for sstEffectiveDate
If this company participates in Streamlined Sales Tax, this is the date when the company joined the SST program.
|
java.lang.String |
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.
|
java.util.ArrayList<TaxCodeModel> |
getTaxCodes()
Getter for taxCodes
Optional: A list of tax codes defined for this company.
|
TaxDependencyLevelId |
getTaxDependencyLevelId()
Getter for taxDependencyLevelId
Used to apply tax detail dependency at a jurisdiction level.
|
java.lang.String |
getTaxpayerIdNumber()
Getter for taxpayerIdNumber
For United States companies, this field contains your Taxpayer Identification Number.
|
java.util.ArrayList<TaxRuleModel> |
getTaxRules()
Getter for taxRules
Optional: A list of tax rules defined for this company.
|
java.util.ArrayList<UPCModel> |
getUpcs()
Getter for upcs
Optional: A list of UPCs defined for this company.
|
java.lang.Boolean |
getWarningsEnabled()
Getter for warningsEnabled
Set this value to true to receive warnings in API calls via SOAP.
|
void |
setAccountId(java.lang.Integer value)
Setter for accountId
The unique ID number of the account this company belongs to.
|
void |
setBaseCurrencyCode(java.lang.String value)
Setter for baseCurrencyCode
This is the three character ISO-4217 currency code of the default currency used by this company.
|
void |
setBusinessIdentificationNo(java.lang.String value)
Setter for businessIdentificationNo
Business Identification No
|
void |
setCompanyCode(java.lang.String value)
Setter for companyCode
A unique code that references this company within your account.
|
void |
setContacts(java.util.ArrayList<ContactModel> value)
Setter for contacts
Optional: A list of contacts defined for this company.
|
void |
setCreatedDate(java.util.Date value)
Setter for createdDate
The date when this record was created.
|
void |
setCreatedUserId(java.lang.Integer value)
Setter for createdUserId
The User ID of the user who created this record.
|
void |
setDefaultCountry(java.lang.String value)
Setter for defaultCountry
The two character ISO-3166 country code of the default country for this company.
|
void |
setDefaultLocationId(java.lang.Integer value)
Setter for defaultLocationId
If set, this is the unique ID number of the default location for this company.
|
void |
setExemptCerts(java.util.ArrayList<EcmsModel> value)
Setter for exemptCerts
DEPRECATED - Date: 9/15/2017, Version: 17.10, Message: Please use the `ListCertificates` API.
|
void |
setHasProfile(java.lang.Boolean value)
Setter for hasProfile
Set this flag to true to give this company its own unique tax profile.
|
void |
setId(java.lang.Integer value)
Setter for id
The unique ID number of this company.
|
void |
setInProgress(java.lang.Boolean value)
Setter for inProgress
Set this value to true to indicate that you are still working to finish configuring this company.
|
void |
setIsActive(java.lang.Boolean value)
Setter for isActive
This flag indicates whether tax activity can occur for this company.
|
void |
setIsDefault(java.lang.Boolean value)
Setter for isDefault
This flag is true if this company is the default company for this account.
|
void |
setIsReportingEntity(java.lang.Boolean value)
Setter for isReportingEntity
Set this flag to true if this company must file its own tax returns.
|
void |
setIsTest(java.lang.Boolean value)
Setter for isTest
Set this flag to true to indicate that this company is a test company.
|
void |
setItems(java.util.ArrayList<ItemModel> value)
Setter for items
Optional: A list of items defined for this company.
|
void |
setLocations(java.util.ArrayList<LocationModel> value)
Setter for locations
Optional: A list of locations defined for this company.
|
void |
setModifiedDate(java.util.Date value)
Setter for modifiedDate
The date/time when this record was last modified.
|
void |
setModifiedUserId(java.lang.Integer value)
Setter for modifiedUserId
The user ID of the user who last modified this record.
|
void |
setMossCountry(java.lang.String value)
Setter for mossCountry
The country code of the mini-one-stop-shop used for Value Added Tax (VAT) processing.
|
void |
setMossId(java.lang.String value)
Setter for mossId
The unique identifier of the mini-one-stop-shop used for Value Added Tax (VAT) processing.
|
void |
setName(java.lang.String value)
Setter for name
The name of this company, as shown to customers.
|
void |
setNexus(java.util.ArrayList<NexusModel> value)
Setter for nexus
Optional: A list of nexus defined for this company.
|
void |
setNonReportingChildCompanies(java.util.ArrayList<CompanyModel> value)
Setter for nonReportingChildCompanies
Optional: A list of non reporting child companies associated with this company.
|
void |
setParentCompanyId(java.lang.Integer value)
Setter for parentCompanyId
If this company is fully owned by another company, this is the unique identity of the parent company.
|
void |
setRoundingLevelId(RoundingLevelId value)
Setter for roundingLevelId
Indicates whether this company prefers to round amounts at the document level or line level.
|
void |
setSettings(java.util.ArrayList<SettingModel> value)
Setter for settings
Optional: A list of settings defined for this company.
|
void |
setSstEffectiveDate(java.util.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 |
setSstPid(java.lang.String value)
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 |
setTaxCodes(java.util.ArrayList<TaxCodeModel> value)
Setter for taxCodes
Optional: A list of tax codes defined for this company.
|
void |
setTaxDependencyLevelId(TaxDependencyLevelId value)
Setter for taxDependencyLevelId
Used to apply tax detail dependency at a jurisdiction level.
|
void |
setTaxpayerIdNumber(java.lang.String value)
Setter for taxpayerIdNumber
For United States companies, this field contains your Taxpayer Identification Number.
|
void |
setTaxRules(java.util.ArrayList<TaxRuleModel> value)
Setter for taxRules
Optional: A list of tax rules defined for this company.
|
void |
setUpcs(java.util.ArrayList<UPCModel> value)
Setter for upcs
Optional: A list of UPCs defined for this company.
|
void |
setWarningsEnabled(java.lang.Boolean value)
Setter for warningsEnabled
Set this value to true to receive warnings in API calls via SOAP.
|
java.lang.String |
toString()
Returns a JSON string representation of CompanyModel
|
public java.lang.Integer getId()
public void setId(java.lang.Integer value)
public java.lang.Integer getAccountId()
public void setAccountId(java.lang.Integer value)
public java.lang.Integer getParentCompanyId()
public void setParentCompanyId(java.lang.Integer value)
public java.lang.String getSstPid()
public void setSstPid(java.lang.String value)
public java.lang.String getCompanyCode()
public void setCompanyCode(java.lang.String value)
public java.lang.String getName()
public void setName(java.lang.String value)
public java.lang.Boolean getIsDefault()
public void setIsDefault(java.lang.Boolean value)
public java.lang.Integer getDefaultLocationId()
public void setDefaultLocationId(java.lang.Integer value)
public java.lang.Boolean getIsActive()
public void setIsActive(java.lang.Boolean value)
public java.lang.String getTaxpayerIdNumber()
public void setTaxpayerIdNumber(java.lang.String value)
public java.lang.Boolean getHasProfile()
public void setHasProfile(java.lang.Boolean value)
public java.lang.Boolean getIsReportingEntity()
public void setIsReportingEntity(java.lang.Boolean value)
public java.util.Date getSstEffectiveDate()
public void setSstEffectiveDate(java.util.Date value)
public java.lang.String getDefaultCountry()
public void setDefaultCountry(java.lang.String value)
public java.lang.String getBaseCurrencyCode()
public void setBaseCurrencyCode(java.lang.String value)
public RoundingLevelId getRoundingLevelId()
public void setRoundingLevelId(RoundingLevelId value)
public java.lang.Boolean getWarningsEnabled()
public void setWarningsEnabled(java.lang.Boolean value)
public java.lang.Boolean getIsTest()
public void setIsTest(java.lang.Boolean value)
public TaxDependencyLevelId getTaxDependencyLevelId()
public void setTaxDependencyLevelId(TaxDependencyLevelId value)
public java.lang.Boolean getInProgress()
public void setInProgress(java.lang.Boolean value)
public java.lang.String getBusinessIdentificationNo()
public void setBusinessIdentificationNo(java.lang.String value)
public java.util.Date getCreatedDate()
public void setCreatedDate(java.util.Date value)
public java.lang.Integer getCreatedUserId()
public void setCreatedUserId(java.lang.Integer value)
public java.util.Date getModifiedDate()
public void setModifiedDate(java.util.Date value)
public java.lang.Integer getModifiedUserId()
public void setModifiedUserId(java.lang.Integer value)
public java.util.ArrayList<ContactModel> getContacts()
public void setContacts(java.util.ArrayList<ContactModel> value)
public java.util.ArrayList<ItemModel> getItems()
public void setItems(java.util.ArrayList<ItemModel> value)
public java.util.ArrayList<LocationModel> getLocations()
public void setLocations(java.util.ArrayList<LocationModel> value)
public java.util.ArrayList<NexusModel> getNexus()
public void setNexus(java.util.ArrayList<NexusModel> value)
public java.util.ArrayList<SettingModel> getSettings()
public void setSettings(java.util.ArrayList<SettingModel> value)
public java.util.ArrayList<TaxCodeModel> getTaxCodes()
public void setTaxCodes(java.util.ArrayList<TaxCodeModel> value)
public java.util.ArrayList<TaxRuleModel> getTaxRules()
public void setTaxRules(java.util.ArrayList<TaxRuleModel> value)
public java.util.ArrayList<UPCModel> getUpcs()
public void setUpcs(java.util.ArrayList<UPCModel> value)
public java.util.ArrayList<CompanyModel> getNonReportingChildCompanies()
public void setNonReportingChildCompanies(java.util.ArrayList<CompanyModel> value)
public java.util.ArrayList<EcmsModel> getExemptCerts()
public void setExemptCerts(java.util.ArrayList<EcmsModel> value)
public java.lang.String getMossId()
public void setMossId(java.lang.String value)
public java.lang.String getMossCountry()
public void setMossCountry(java.lang.String value)
public java.lang.String toString()
toString
in class java.lang.Object