Class SettingModel
java.lang.Object
net.avalara.avatax.rest.client.models.SettingModel
public class SettingModel
extends java.lang.Object
This object is used to keep track of custom information about a company.
The company settings system is a metadata system that you can use to store extra information
about a company. Your integration or connector could use this data storage to keep track of
preference information, reminders, or any other storage that would need to persist even if
the customer uninstalls your application.
A setting can refer to any type of data you need to remember about this company object.
When creating this object, you may define your own `set`, `name`, and `value` parameters.
To define your own values, please choose a `set` name that begins with `X-` to indicate an extension.
-
Constructor Summary
Constructors Constructor Description SettingModel()
-
Method Summary
Modifier and Type Method Description java.lang.Integer
getCompanyId()
Getter for companyId The unique ID number of the company this setting refers to.java.lang.Integer
getId()
Getter for id The unique ID number of this setting.java.lang.String
getName()
Getter for name A user-defined "name" for this name-value pair.java.lang.String
getSet()
Getter for set A user-defined "set" containing this setting.java.lang.String
getValue()
Getter for value The value of this name-value pair.void
setCompanyId(java.lang.Integer value)
Setter for companyId The unique ID number of the company this setting refers to.void
setId(java.lang.Integer value)
Setter for id The unique ID number of this setting.void
setName(java.lang.String value)
Setter for name A user-defined "name" for this name-value pair.void
setSet(java.lang.String value)
Setter for set A user-defined "set" containing this setting.void
setValue(java.lang.String value)
Setter for value The value of this name-value pair.java.lang.String
toString()
Returns a JSON string representation of SettingModel
-
Constructor Details
-
SettingModel
public SettingModel()
-
-
Method Details
-
getId
public java.lang.Integer getId()Getter for id The unique ID number of this setting. -
setId
public void setId(java.lang.Integer value)Setter for id The unique ID number of this setting. -
getCompanyId
public java.lang.Integer getCompanyId()Getter for companyId The unique ID number of the company this setting refers to. -
setCompanyId
public void setCompanyId(java.lang.Integer value)Setter for companyId The unique ID number of the company this setting refers to. -
getSet
public java.lang.String getSet()Getter for set A user-defined "set" containing this setting. Avalara defines some sets that cannot be changed. To create your own set, choose a set name that begins with `X-` to indicate that this is an extension value. We recommend that you choose a set name that clearly identifies your application, and then store data within name/value pairs within that set. For example, if you were creating an application called MyApp, you might choose to create a set named `X-MyCompany-MyApp`. -
setSet
public void setSet(java.lang.String value)Setter for set A user-defined "set" containing this setting. Avalara defines some sets that cannot be changed. To create your own set, choose a set name that begins with `X-` to indicate that this is an extension value. We recommend that you choose a set name that clearly identifies your application, and then store data within name/value pairs within that set. For example, if you were creating an application called MyApp, you might choose to create a set named `X-MyCompany-MyApp`. -
getName
public java.lang.String getName()Getter for name A user-defined "name" for this name-value pair. -
setName
public void setName(java.lang.String value)Setter for name A user-defined "name" for this name-value pair. -
getValue
public java.lang.String getValue()Getter for value The value of this name-value pair. -
setValue
public void setValue(java.lang.String value)Setter for value The value of this name-value pair. -
toString
public java.lang.String toString()Returns a JSON string representation of SettingModel- Overrides:
toString
in classjava.lang.Object
-