Skip to content

Latest commit

 

History

History
36 lines (27 loc) · 1.79 KB

team-member-wage.md

File metadata and controls

36 lines (27 loc) · 1.79 KB

Team Member Wage

The hourly wage rate that a team member earns on a Shift for doing the job specified by the title property of this object.

Structure

TeamMemberWage

Fields

Name Type Tags Description Getter Setter
id ?string Optional The UUID for this object. getId(): ?string setId(?string id): void
teamMemberId ?string Optional The TeamMember that this wage is assigned to. getTeamMemberId(): ?string setTeamMemberId(?string teamMemberId): void
title ?string Optional The job title that this wage relates to. getTitle(): ?string setTitle(?string title): void
hourlyRate ?Money Optional Represents an amount of money. Money fields can be signed or unsigned.
Fields that do not explicitly define whether they are signed or unsigned are
considered unsigned and can only hold positive amounts. For signed fields, the
sign of the value indicates the purpose of the money transfer. See
Working with Monetary Amounts
for more information.
getHourlyRate(): ?Money setHourlyRate(?Money hourlyRate): void
jobId ?string Optional An identifier for the job that this wage relates to. This cannot be
used to retrieve the job.
getJobId(): ?string setJobId(?string jobId): void
tipEligible ?bool Optional Whether team members are eligible for tips when working this job. getTipEligible(): ?bool setTipEligible(?bool tipEligible): void

Example (as JSON)

{
  "id": "id2",
  "team_member_id": "team_member_id2",
  "title": "title8",
  "hourly_rate": {
    "amount": 172,
    "currency": "LAK"
  },
  "job_id": "job_id0"
}