%PDF- %GIF98; %PNG;
Server : ApacheSystem : Linux host.digitalbabaji.in 4.18.0-513.11.1.el8_9.x86_64 #1 SMP Wed Jan 17 02:00:40 EST 2024 x86_64 User : addictionfreeind ( 1003) PHP Version : 7.2.34 Disable Function : exec,passthru,shell_exec,system Directory : /home/addictionfreeind/www/admin1/vendor/square/square/doc/models/ |
Upload File : |
# Retrieve Employee Response
## Structure
`RetrieveEmployeeResponse`
## Fields
| Name | Type | Tags | Description | Getter | Setter |
| --- | --- | --- | --- | --- | --- |
| `employee` | [`?Employee`](/doc/models/employee.md) | Optional | An employee object that is used by the external API. | getEmployee(): ?Employee | setEmployee(?Employee employee): void |
| `errors` | [`?(Error[])`](/doc/models/error.md) | Optional | Any errors that occurred during the request. | getErrors(): ?array | setErrors(?array errors): void |
## Example (as JSON)
```json
{
"employee": {
"id": "id8",
"first_name": "first_name8",
"last_name": "last_name6",
"email": "email8",
"phone_number": "phone_number6"
},
"errors": [
{
"category": "AUTHENTICATION_ERROR",
"code": "MISSING_PIN",
"detail": "detail1",
"field": "field9"
},
{
"category": "INVALID_REQUEST_ERROR",
"code": "MISSING_ACCOUNT_TYPE",
"detail": "detail2",
"field": "field0"
},
{
"category": "RATE_LIMIT_ERROR",
"code": "INVALID_POSTAL_CODE",
"detail": "detail3",
"field": "field1"
}
]
}
```