Skip to content
This repository has been archived by the owner on Apr 23, 2021. It is now read-only.

Latest commit

 

History

History
20 lines (14 loc) · 1.41 KB

V1EmployeeRole.md

File metadata and controls

20 lines (14 loc) · 1.41 KB

V1EmployeeRole

Description

V1EmployeeRole

Properties

Name Getter Setter Type Description Notes
id getId() setId($value) string The role's unique ID, Can only be set by Square. [optional]
name getName() setName($value) string The role's merchant-defined name.
permissions getPermissions() setPermissions($value) string[] The role's permissions. See V1EmployeeRolePermissions for possible values
is_owner getIsOwner() setIsOwner($value) bool If true, employees with this role have all permissions, regardless of the values indicated in permissions. [optional]
created_at getCreatedAt() setCreatedAt($value) string The time when the employee entity was created, in ISO 8601 format. Is set by Square when the Role is created. [optional]
updated_at getUpdatedAt() setUpdatedAt($value) string The time when the employee entity was most recently updated, in ISO 8601 format. Is set by Square when the Role updated. [optional]

Note: All properties are protected and only accessed via getters and setters.

[Back to Model list] [Back to API list] [Back to README]