Represents information about the overtime exemption status, job assignments, and compensation for a team member.
WageSetting
Name | Type | Tags | Description | Getter | Setter |
---|---|---|---|---|---|
teamMemberId |
?string |
Optional | The ID of the team member associated with the wage setting. | getTeamMemberId(): ?string | setTeamMemberId(?string teamMemberId): void |
jobAssignments |
?(JobAssignment[]) |
Optional | Required The ordered list of jobs that the team member is assigned to. The first job assignment is considered the team member's primary job. |
getJobAssignments(): ?array | setJobAssignments(?array jobAssignments): void |
isOvertimeExempt |
?bool |
Optional | Whether the team member is exempt from the overtime rules of the seller's country. | getIsOvertimeExempt(): ?bool | setIsOvertimeExempt(?bool isOvertimeExempt): void |
version |
?int |
Optional | Read only Used for resolving concurrency issues. The request fails if the version provided does not match the server version at the time of the request. If not provided, Square executes a blind write, potentially overwriting data from another write. For more information, see optimistic concurrency. |
getVersion(): ?int | setVersion(?int version): void |
createdAt |
?string |
Optional | The timestamp when the wage setting was created, in RFC 3339 format. | getCreatedAt(): ?string | setCreatedAt(?string createdAt): void |
updatedAt |
?string |
Optional | The timestamp when the wage setting was last updated, in RFC 3339 format. | getUpdatedAt(): ?string | setUpdatedAt(?string updatedAt): void |
{
"team_member_id": "team_member_id2",
"job_assignments": [
{
"job_title": "job_title6",
"pay_type": "SALARY",
"hourly_rate": {
"amount": 172,
"currency": "LAK"
},
"annual_rate": {
"amount": 232,
"currency": "NIO"
},
"weekly_hours": 98,
"job_id": "job_id2"
},
{
"job_title": "job_title6",
"pay_type": "SALARY",
"hourly_rate": {
"amount": 172,
"currency": "LAK"
},
"annual_rate": {
"amount": 232,
"currency": "NIO"
},
"weekly_hours": 98,
"job_id": "job_id2"
},
{
"job_title": "job_title6",
"pay_type": "SALARY",
"hourly_rate": {
"amount": 172,
"currency": "LAK"
},
"annual_rate": {
"amount": 232,
"currency": "NIO"
},
"weekly_hours": 98,
"job_id": "job_id2"
}
],
"is_overtime_exempt": false,
"version": 140,
"created_at": "created_at0"
}