class UserKind| Parents | |
|
|
|
This class defines a set of constants and methods to represent different types of users
| Static Public Properties | |
|
Type of user: admin |
|
|
Type of user: customer |
|
|
Type of user: dealer |
|
|
Type of user: merchant |
|
|
Type of user: trader |
|
|
Type of user: undefined |
|
| Static Public Methods | |
|
Creates a new instance of the class with a specified user type |
|
| Public Methods | |
|
Returns a string representing the name of the user type |
|
|
Returns a boolean value indicating if the user type is a 'Admin' |
|
|
Returns a boolean value indicating if the user type is a 'Customer' |
|
|
Returns a boolean value indicating if the user type is a 'Dealer' |
|
|
Returns a boolean value indicating if the user type is a 'Merchant' |
|
|
Returns a boolean value indicating if the user type is a 'Trader' |
|