Class LicenseKeyModel
java.lang.Object
net.avalara.avatax.rest.client.models.LicenseKeyModel
public class LicenseKeyModel
extends java.lang.Object
Represents a license key for this account.
-
Constructor Summary
Constructors Constructor Description LicenseKeyModel()
-
Method Summary
Modifier and Type Method Description java.lang.Integer
getAccountId()
Getter for accountId The primary key of the accountjava.lang.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.java.lang.String
getPrivateLicenseKey()
Getter for privateLicenseKey This is your private license key.void
setAccountId(java.lang.Integer value)
Setter for accountId The primary key of the accountvoid
setHttpRequestHeader(java.lang.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.void
setPrivateLicenseKey(java.lang.String value)
Setter for privateLicenseKey This is your private license key.java.lang.String
toString()
Returns a JSON string representation of LicenseKeyModel
-
Constructor Details
-
LicenseKeyModel
public LicenseKeyModel()
-
-
Method Details
-
getAccountId
public java.lang.Integer getAccountId()Getter for accountId The primary key of the account -
setAccountId
public void setAccountId(java.lang.Integer value)Setter for accountId The primary key of the account -
getPrivateLicenseKey
public java.lang.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(java.lang.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 java.lang.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(java.lang.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 java.lang.String toString()Returns a JSON string representation of LicenseKeyModel- Overrides:
toString
in classjava.lang.Object
-