FileMaster
Search
Toggle Dark Mode
Home
/
.
/
wp-content
/
plugins
/
ameliabooking
/
vendor
/
square
/
square
/
doc
/
models
Edit File: list-employee-wages-response.md
# List Employee Wages Response The response to a request for a set of `EmployeeWage` objects. The response contains a set of `EmployeeWage` objects. ## Structure `ListEmployeeWagesResponse` ## Fields | Name | Type | Tags | Description | Getter | Setter | | --- | --- | --- | --- | --- | --- | | `employeeWages` | [`?(EmployeeWage[])`](../../doc/models/employee-wage.md) | Optional | A page of `EmployeeWage` results. | getEmployeeWages(): ?array | setEmployeeWages(?array employeeWages): void | | `cursor` | `?string` | Optional | The value supplied in the subsequent request to fetch the next page<br>of `EmployeeWage` results. | getCursor(): ?string | setCursor(?string cursor): 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 { "cursor": "2fofTniCgT0yIPAq26kmk0YyFQJZfbWkh73OOnlTHmTAx13NgED", "employee_wages": [ { "employee_id": "33fJchumvVdJwxV0H6L9", "hourly_rate": { "amount": 3250, "currency": "USD" }, "id": "pXS3qCv7BERPnEGedM4S8mhm", "title": "Manager" }, { "employee_id": "33fJchumvVdJwxV0H6L9", "hourly_rate": { "amount": 2600, "currency": "USD" }, "id": "rZduCkzYDUVL3ovh1sQgbue6", "title": "Cook" }, { "employee_id": "33fJchumvVdJwxV0H6L9", "hourly_rate": { "amount": 1600, "currency": "USD" }, "id": "FxLbs5KpPUHa8wyt5ctjubDX", "title": "Barista" }, { "employee_id": "33fJchumvVdJwxV0H6L9", "hourly_rate": { "amount": 1700, "currency": "USD" }, "id": "vD1wCgijMDR3cX5TPnu7VXto", "title": "Cashier" } ], "errors": [ { "category": "MERCHANT_SUBSCRIPTION_ERROR", "code": "MAP_KEY_LENGTH_TOO_LONG", "detail": "detail6", "field": "field4" } ] } ```
Save
Back