Class LicenseKeyModel
- java.lang.Object
-
- net.avalara.avatax.rest.client.models.LicenseKeyModel
-
public class LicenseKeyModel extends java.lang.ObjectRepresents a license key for this account.
-
-
Constructor Summary
Constructors Constructor Description LicenseKeyModel()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.IntegergetAccountId()Getter for accountId The primary key of the accountjava.lang.StringgetHttpRequestHeader()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.StringgetPrivateLicenseKey()Getter for privateLicenseKey This is your private license key.voidsetAccountId(java.lang.Integer value)Setter for accountId The primary key of the accountvoidsetHttpRequestHeader(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.voidsetPrivateLicenseKey(java.lang.String value)Setter for privateLicenseKey This is your private license key.java.lang.StringtoString()Returns a JSON string representation of LicenseKeyModel
-
-
-
Method Detail
-
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:
toStringin classjava.lang.Object
-
-