new PermissionSet()
- Source:
Methods
(static) PermissionSet#getApp() → {base.Reference}
Get the field value
- Source:
Returns:
- Type
- base.Reference
(static) PermissionSet#getEmployeeDefault() → {Boolean}
Get the field value
- Source:
Returns:
- Type
- Boolean
(static) PermissionSet#getEmployeePermissions() → {Array.<employees.EmployeePermission>}
Get the field value
- Source:
Returns:
An array of
- Type
- Array.<employees.EmployeePermission>
(static) PermissionSet#getId() → {String}
Get the field value
Unique identifier
- Source:
Returns:
- Type
- String
(static) PermissionSet#getLabel() → {String}
Get the field value
Label of the permissionSet
- Source:
Returns:
- Type
- String
(static) PermissionSet#getManagerDefault() → {Boolean}
Get the field value
- Source:
Returns:
- Type
- Boolean
(static) PermissionSet#getModule() → {base.Reference}
Get the field value
The module associated with this permission set (if any)
- Source:
Returns:
- Type
- base.Reference
(static) PermissionSet#getName() → {String}
Get the field value
Key of the permissionSet
- Source:
Returns:
- Type
- String
(static) PermissionSet#getPermissions() → {employees.Permissions}
Get the field value
Bitmap of permissions
- Source:
Returns:
(static) PermissionSet#getRoles() → {Array.<base.Reference>}
Get the field value
roles enabled for this merchant
- Source:
Returns:
An array of
- Type
- Array.<base.Reference>
(static) PermissionSet#setApp(app)
Set the field value
Parameters:
Name | Type | Description |
---|---|---|
app |
base.Reference |
- Source:
(static) PermissionSet#setEmployeeDefault(employeeDefault)
Set the field value
Parameters:
Name | Type | Description |
---|---|---|
employeeDefault |
Boolean |
- Source:
(static) PermissionSet#setEmployeePermissions(employeePermissions)
Set the field value
Parameters:
Name | Type | Description |
---|---|---|
employeePermissions |
Array.<employees.EmployeePermission> | An array of |
- Source:
(static) PermissionSet#setId(id)
Set the field value
Unique identifier
Parameters:
Name | Type | Description |
---|---|---|
id |
String |
- Source:
(static) PermissionSet#setLabel(label)
Set the field value
Label of the permissionSet
Parameters:
Name | Type | Description |
---|---|---|
label |
String |
- Source:
(static) PermissionSet#setManagerDefault(managerDefault)
Set the field value
Parameters:
Name | Type | Description |
---|---|---|
managerDefault |
Boolean |
- Source:
(static) PermissionSet#setModule(module)
Set the field value
The module associated with this permission set (if any)
Parameters:
Name | Type | Description |
---|---|---|
module |
base.Reference |
- Source:
(static) PermissionSet#setName(name)
Set the field value
Key of the permissionSet
Parameters:
Name | Type | Description |
---|---|---|
name |
String |
- Source:
(static) PermissionSet#setPermissions(permissions)
Set the field value
Bitmap of permissions
Parameters:
Name | Type | Description |
---|---|---|
permissions |
employees.Permissions |
- Source:
(static) PermissionSet#setRoles(roles)
Set the field value
roles enabled for this merchant
Parameters:
Name | Type | Description |
---|---|---|
roles |
Array.<base.Reference> | An array of |
- Source: