Class SettingModel

java.lang.Object
net.avalara.avatax.rest.client.models.SettingModel

public class SettingModel extends 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
     
  • Method Summary

    Modifier and Type
    Method
    Description
    Getter for companyId The unique ID number of the company this setting refers to.
    Getter for id The unique ID number of this setting.
    Getter for modifiedDate The value when the entry was last modified.
    Getter for modifiedUserId The value identifying who last modified the entry.
    Getter for name A user-defined "name" for this name-value pair.
    Getter for set A user-defined "set" containing this setting.
    Getter for value The value of this name-value pair.
    void
    Setter for companyId The unique ID number of the company this setting refers to.
    void
    setId(Integer value)
    Setter for id The unique ID number of this setting.
    void
    Setter for modifiedDate The value when the entry was last modified.
    void
    Setter for modifiedUserId The value identifying who last modified the entry.
    void
    setName(String value)
    Setter for name A user-defined "name" for this name-value pair.
    void
    setSet(String value)
    Setter for set A user-defined "set" containing this setting.
    void
    Setter for value The value of this name-value pair.
    Returns a JSON string representation of SettingModel

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
  • Constructor Details

    • SettingModel

      public SettingModel()
  • Method Details

    • getId

      public Integer getId()
      Getter for id The unique ID number of this setting.
    • setId

      public void setId(Integer value)
      Setter for id The unique ID number of this setting.
    • getCompanyId

      public Integer getCompanyId()
      Getter for companyId The unique ID number of the company this setting refers to.
    • setCompanyId

      public void setCompanyId(Integer value)
      Setter for companyId The unique ID number of the company this setting refers to.
    • getSet

      public 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(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 String getName()
      Getter for name A user-defined "name" for this name-value pair.
    • setName

      public void setName(String value)
      Setter for name A user-defined "name" for this name-value pair.
    • getValue

      public String getValue()
      Getter for value The value of this name-value pair.
    • setValue

      public void setValue(String value)
      Setter for value The value of this name-value pair.
    • getModifiedDate

      public Date getModifiedDate()
      Getter for modifiedDate The value when the entry was last modified.
    • setModifiedDate

      public void setModifiedDate(Date value)
      Setter for modifiedDate The value when the entry was last modified.
    • getModifiedUserId

      public Integer getModifiedUserId()
      Getter for modifiedUserId The value identifying who last modified the entry.
    • setModifiedUserId

      public void setModifiedUserId(Integer value)
      Setter for modifiedUserId The value identifying who last modified the entry.
    • toString

      public String toString()
      Returns a JSON string representation of SettingModel
      Overrides:
      toString in class Object