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.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 |
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.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 accountId)
Setter for accountId - The unique ID number of the account this company belongs to.
|
void |
setBaseCurrencyCode(java.lang.String baseCurrencyCode)
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 businessIdentificationNo)
Setter for businessIdentificationNo - Business Identification No
|
void |
setCompanyCode(java.lang.String companyCode)
Setter for companyCode - A unique code that references this company within your account.
|
void |
setContacts(java.util.ArrayList<ContactModel> contacts)
Setter for contacts - Optional: A list of contacts defined for this company.
|
void |
setCreatedDate(java.util.Date createdDate)
Setter for createdDate - The date when this record was created.
|
void |
setCreatedUserId(java.lang.Integer createdUserId)
Setter for createdUserId - The User ID of the user who created this record.
|
void |
setDefaultCountry(java.lang.String defaultCountry)
Setter for defaultCountry - The two character ISO-3166 country code of the default country for this company.
|
void |
setDefaultLocationId(java.lang.Integer defaultLocationId)
Setter for defaultLocationId - If set, this is the unique ID number of the default location for this company.
|
void |
setHasProfile(java.lang.Boolean hasProfile)
Setter for hasProfile - Set this flag to true to give this company its own unique tax profile.
|
void |
setId(java.lang.Integer id)
Setter for id - The unique ID number of this company.
|
void |
setInProgress(java.lang.Boolean inProgress)
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 isActive)
Setter for isActive - This flag indicates whether tax activity can occur for this company.
|
void |
setIsDefault(java.lang.Boolean isDefault)
Setter for isDefault - This flag is true if this company is the default company for this account.
|
void |
setIsReportingEntity(java.lang.Boolean isReportingEntity)
Setter for isReportingEntity - Set this flag to true if this company must file its own tax returns.
|
void |
setIsTest(java.lang.Boolean isTest)
Setter for isTest - Set this flag to true to indicate that this company is a test company.
|
void |
setItems(java.util.ArrayList<ItemModel> items)
Setter for items - Optional: A list of items defined for this company.
|
void |
setLocations(java.util.ArrayList<LocationModel> locations)
Setter for locations - Optional: A list of locations defined for this company.
|
void |
setModifiedDate(java.util.Date modifiedDate)
Setter for modifiedDate - The date/time when this record was last modified.
|
void |
setModifiedUserId(java.lang.Integer modifiedUserId)
Setter for modifiedUserId - The user ID of the user who last modified this record.
|
void |
setName(java.lang.String name)
Setter for name - The name of this company, as shown to customers.
|
void |
setNexus(java.util.ArrayList<NexusModel> nexus)
Setter for nexus - Optional: A list of nexus defined for this company.
|
void |
setParentCompanyId(java.lang.Integer parentCompanyId)
Setter for parentCompanyId - If this company is fully owned by another company, this is the unique identity of the parent company.
|
void |
setRoundingLevelId(RoundingLevelId roundingLevelId)
Setter for roundingLevelId - Indicates whether this company prefers to round amounts at the document level or line level.
|
void |
setSettings(java.util.ArrayList<SettingModel> settings)
Setter for settings - Optional: A list of settings defined for this company.
|
void |
setSstEffectiveDate(java.util.Date sstEffectiveDate)
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 sstPid)
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> taxCodes)
Setter for taxCodes - Optional: A list of tax codes defined for this company.
|
void |
setTaxDependencyLevelId(TaxDependencyLevelId taxDependencyLevelId)
Setter for taxDependencyLevelId - Used to apply tax detail dependency at a jurisdiction level.
|
void |
setTaxpayerIdNumber(java.lang.String taxpayerIdNumber)
Setter for taxpayerIdNumber - For United States companies, this field contains your Taxpayer Identification Number.
|
void |
setTaxRules(java.util.ArrayList<TaxRuleModel> taxRules)
Setter for taxRules - Optional: A list of tax rules defined for this company.
|
void |
setUpcs(java.util.ArrayList<UPCModel> upcs)
Setter for upcs - Optional: A list of UPCs defined for this company.
|
void |
setWarningsEnabled(java.lang.Boolean warningsEnabled)
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.util.ArrayList<LocationModel> getLocations()
public void setLocations(java.util.ArrayList<LocationModel> locations)
public java.lang.String getName()
public void setName(java.lang.String name)
public java.util.ArrayList<TaxCodeModel> getTaxCodes()
public void setTaxCodes(java.util.ArrayList<TaxCodeModel> taxCodes)
public java.util.ArrayList<NexusModel> getNexus()
public void setNexus(java.util.ArrayList<NexusModel> nexus)
public java.lang.String getCompanyCode()
public void setCompanyCode(java.lang.String companyCode)
public java.util.Date getModifiedDate()
public void setModifiedDate(java.util.Date modifiedDate)
public java.util.ArrayList<ItemModel> getItems()
public void setItems(java.util.ArrayList<ItemModel> items)
public java.lang.String getBusinessIdentificationNo()
public void setBusinessIdentificationNo(java.lang.String businessIdentificationNo)
public java.lang.Boolean getIsReportingEntity()
public void setIsReportingEntity(java.lang.Boolean isReportingEntity)
public java.util.ArrayList<UPCModel> getUpcs()
public void setUpcs(java.util.ArrayList<UPCModel> upcs)
public java.lang.String getTaxpayerIdNumber()
public void setTaxpayerIdNumber(java.lang.String taxpayerIdNumber)
public java.lang.Integer getAccountId()
public void setAccountId(java.lang.Integer accountId)
public java.lang.String getSstPid()
public void setSstPid(java.lang.String sstPid)
public java.util.ArrayList<ContactModel> getContacts()
public void setContacts(java.util.ArrayList<ContactModel> contacts)
public java.util.Date getSstEffectiveDate()
public void setSstEffectiveDate(java.util.Date sstEffectiveDate)
public java.util.ArrayList<TaxRuleModel> getTaxRules()
public void setTaxRules(java.util.ArrayList<TaxRuleModel> taxRules)
public RoundingLevelId getRoundingLevelId()
public void setRoundingLevelId(RoundingLevelId roundingLevelId)
public TaxDependencyLevelId getTaxDependencyLevelId()
public void setTaxDependencyLevelId(TaxDependencyLevelId taxDependencyLevelId)
public java.lang.Integer getId()
public void setId(java.lang.Integer id)
public java.lang.Boolean getIsTest()
public void setIsTest(java.lang.Boolean isTest)
public java.lang.Boolean getWarningsEnabled()
public void setWarningsEnabled(java.lang.Boolean warningsEnabled)
public java.lang.String getDefaultCountry()
public void setDefaultCountry(java.lang.String defaultCountry)
public java.lang.Boolean getIsActive()
public void setIsActive(java.lang.Boolean isActive)
public java.lang.Integer getModifiedUserId()
public void setModifiedUserId(java.lang.Integer modifiedUserId)
public java.lang.Integer getCreatedUserId()
public void setCreatedUserId(java.lang.Integer createdUserId)
public java.lang.Integer getDefaultLocationId()
public void setDefaultLocationId(java.lang.Integer defaultLocationId)
public java.lang.Boolean getInProgress()
public void setInProgress(java.lang.Boolean inProgress)
public java.lang.Integer getParentCompanyId()
public void setParentCompanyId(java.lang.Integer parentCompanyId)
public java.lang.Boolean getHasProfile()
public void setHasProfile(java.lang.Boolean hasProfile)
public java.lang.String getBaseCurrencyCode()
public void setBaseCurrencyCode(java.lang.String baseCurrencyCode)
public java.util.ArrayList<SettingModel> getSettings()
public void setSettings(java.util.ArrayList<SettingModel> settings)
public java.lang.Boolean getIsDefault()
public void setIsDefault(java.lang.Boolean isDefault)
public java.util.Date getCreatedDate()
public void setCreatedDate(java.util.Date createdDate)
public java.lang.String toString()
toString
in class java.lang.Object