Class UserEntitlementModel
java.lang.Object
net.avalara.avatax.rest.client.models.UserEntitlementModel
public class UserEntitlementModel
extends java.lang.Object
User Entitlement Model
-
Constructor Summary
Constructors Constructor Description UserEntitlementModel() -
Method Summary
Modifier and Type Method Description CompanyAccessLevelgetAccessLevel()Getter for accessLevel What access privileges does the current user have to see companies?java.util.ArrayList<java.lang.Integer>getCompanies()Getter for companies The identities of all companies this user is permitted to accessjava.util.ArrayList<java.lang.String>getPermissions()Getter for permissions List of API names and categories that this user is permitted to accessvoidsetAccessLevel(CompanyAccessLevel value)Setter for accessLevel What access privileges does the current user have to see companies?voidsetCompanies(java.util.ArrayList<java.lang.Integer> value)Setter for companies The identities of all companies this user is permitted to accessvoidsetPermissions(java.util.ArrayList<java.lang.String> value)Setter for permissions List of API names and categories that this user is permitted to accessjava.lang.StringtoString()Returns a JSON string representation of UserEntitlementModel
-
Constructor Details
-
UserEntitlementModel
public UserEntitlementModel()
-
-
Method Details
-
getPermissions
public java.util.ArrayList<java.lang.String> getPermissions()Getter for permissions List of API names and categories that this user is permitted to access -
setPermissions
public void setPermissions(java.util.ArrayList<java.lang.String> value)Setter for permissions List of API names and categories that this user is permitted to access -
getAccessLevel
Getter for accessLevel What access privileges does the current user have to see companies? -
setAccessLevel
Setter for accessLevel What access privileges does the current user have to see companies? -
getCompanies
public java.util.ArrayList<java.lang.Integer> getCompanies()Getter for companies The identities of all companies this user is permitted to access -
setCompanies
public void setCompanies(java.util.ArrayList<java.lang.Integer> value)Setter for companies The identities of all companies this user is permitted to access -
toString
public java.lang.String toString()Returns a JSON string representation of UserEntitlementModel- Overrides:
toStringin classjava.lang.Object
-