V1EmployeeRole

March 13, 2019 ยท View on GitHub

Description

V1EmployeeRole

Properties

NameGetterSetterTypeDescriptionNotes
idgetId()setId($value)stringThe role's unique ID, Can only be set by Square.[optional]
namegetName()setName($value)stringThe role's merchant-defined name.
permissionsgetPermissions()setPermissions($value)string[]The role's permissions. See V1EmployeeRolePermissions for possible values
is_ownergetIsOwner()setIsOwner($value)boolIf true, employees with this role have all permissions, regardless of the values indicated in permissions.[optional]
created_atgetCreatedAt()setCreatedAt($value)stringThe time when the employee entity was created, in ISO 8601 format. Is set by Square when the Role is created.[optional]
updated_atgetUpdatedAt()setUpdatedAt($value)stringThe 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]