Employee
January 22, 2020 ยท View on GitHub
Description
An employee object that is used by the external API.
Properties
| Name | Getter | Setter | Type | Description | Notes |
|---|---|---|---|---|---|
| id | getId() | setId($value) | string | UUID for this object. | [optional] |
| first_name | getFirstName() | setFirstName($value) | string | The employee's first name. | [optional] |
| last_name | getLastName() | setLastName($value) | string | The employee's last name. | [optional] |
| getEmail() | setEmail($value) | string | The employee's email address | [optional] | |
| phone_number | getPhoneNumber() | setPhoneNumber($value) | string | The employee's phone number in E.164 format, i.e. "+12125554250" | [optional] |
| location_ids | getLocationIds() | setLocationIds($value) | string[] | A list of location IDs where this employee has access to. | [optional] |
| status | getStatus() | setStatus($value) | string | Specifies the status of the employees being fetched. See EmployeeStatus for possible values | [optional] |
| is_owner | getIsOwner() | setIsOwner($value) | bool | Whether this employee is the owner of the merchant. Each merchant has one owner employee, and that employee has full authority over the account. | [optional] |
| created_at | getCreatedAt() | setCreatedAt($value) | string | A read-only timestamp in RFC 3339 format. | [optional] |
| updated_at | getUpdatedAt() | setUpdatedAt($value) | string | A read-only timestamp in RFC 3339 format. | [optional] |
Note: All properties are protected and only accessed via getters and setters.