Class ECommerceTokenOutputModel
java.lang.Object
net.avalara.avatax.rest.client.models.ECommerceTokenOutputModel
public class ECommerceTokenOutputModel
extends java.lang.Object
The resource model returned by the ECommerceTokenController's endpoints.
-
Constructor Summary
Constructors Constructor Description ECommerceTokenOutputModel()
-
Method Summary
Modifier and Type Method Description java.util.ArrayList<java.lang.Long>
getClientIds()
Getter for clientIds The list of clients that the token is valid for.java.util.Date
getCreatedDate()
Getter for createdDate The date the token was created.java.util.Date
getExpirationDate()
Getter for expirationDate The date that the token will expire.java.lang.String
getToken()
Getter for token The JWT token that authorizes the gencert tool to operate.void
setClientIds(java.util.ArrayList<java.lang.Long> value)
Setter for clientIds The list of clients that the token is valid for.void
setCreatedDate(java.util.Date value)
Setter for createdDate The date the token was created.void
setExpirationDate(java.util.Date value)
Setter for expirationDate The date that the token will expire.void
setToken(java.lang.String value)
Setter for token The JWT token that authorizes the gencert tool to operate.java.lang.String
toString()
Returns a JSON string representation of ECommerceTokenOutputModel
-
Constructor Details
-
ECommerceTokenOutputModel
public ECommerceTokenOutputModel()
-
-
Method Details
-
getToken
public java.lang.String getToken()Getter for token The JWT token that authorizes the gencert tool to operate. -
setToken
public void setToken(java.lang.String value)Setter for token The JWT token that authorizes the gencert tool to operate. -
getClientIds
public java.util.ArrayList<java.lang.Long> getClientIds()Getter for clientIds The list of clients that the token is valid for. -
setClientIds
public void setClientIds(java.util.ArrayList<java.lang.Long> value)Setter for clientIds The list of clients that the token is valid for. -
getCreatedDate
public java.util.Date getCreatedDate()Getter for createdDate The date the token was created. -
setCreatedDate
public void setCreatedDate(java.util.Date value)Setter for createdDate The date the token was created. -
getExpirationDate
public java.util.Date getExpirationDate()Getter for expirationDate The date that the token will expire. -
setExpirationDate
public void setExpirationDate(java.util.Date value)Setter for expirationDate The date that the token will expire. -
toString
public java.lang.String toString()Returns a JSON string representation of ECommerceTokenOutputModel- Overrides:
toString
in classjava.lang.Object
-