Class LicenseKeyModel

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

public class LicenseKeyModel extends Object
Represents a license key for this account.
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    Getter for accountId The primary key of the account
    Getter for httpRequestHeader If your software allows you to specify the HTTP Authorization header directly, this is the header string you should use when contacting Avalara to make API calls with this license key.
    Getter for privateLicenseKey This is your private license key.
    void
    Setter for accountId The primary key of the account
    void
    Setter for httpRequestHeader If your software allows you to specify the HTTP Authorization header directly, this is the header string you should use when contacting Avalara to make API calls with this license key.
    void
    Setter for privateLicenseKey This is your private license key.
    Returns a JSON string representation of LicenseKeyModel

    Methods inherited from class java.lang.Object

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

    • LicenseKeyModel

      public LicenseKeyModel()
  • Method Details

    • getAccountId

      public Integer getAccountId()
      Getter for accountId The primary key of the account
    • setAccountId

      public void setAccountId(Integer value)
      Setter for accountId The primary key of the account
    • getPrivateLicenseKey

      public String getPrivateLicenseKey()
      Getter for privateLicenseKey This is your private license key. You must record this license key for safekeeping. If you lose this key, you must contact the ResetLicenseKey API in order to request a new one. Each account can only have one license key at a time.
    • setPrivateLicenseKey

      public void setPrivateLicenseKey(String value)
      Setter for privateLicenseKey This is your private license key. You must record this license key for safekeeping. If you lose this key, you must contact the ResetLicenseKey API in order to request a new one. Each account can only have one license key at a time.
    • getHttpRequestHeader

      public String getHttpRequestHeader()
      Getter for httpRequestHeader If your software allows you to specify the HTTP Authorization header directly, this is the header string you should use when contacting Avalara to make API calls with this license key.
    • setHttpRequestHeader

      public void setHttpRequestHeader(String value)
      Setter for httpRequestHeader If your software allows you to specify the HTTP Authorization header directly, this is the header string you should use when contacting Avalara to make API calls with this license key.
    • toString

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