import type * as Square from "../index"; /** * Represents a job assigned to a [team member](entity:TeamMember), including the compensation the team * member earns for the job. Job assignments are listed in the team member's [wage setting](entity:WageSetting). */ export interface JobAssignment { /** The title of the job. */ jobTitle?: string | null; /** * The current pay type for the job assignment used to * calculate the pay amount in a pay period. * See [JobAssignmentPayType](#type-jobassignmentpaytype) for possible values */ payType: Square.JobAssignmentPayType; /** * The hourly pay rate of the job. For `SALARY` pay types, Square calculates the hourly rate based on * `annual_rate` and `weekly_hours`. */ hourlyRate?: Square.Money; /** The total pay amount for a 12-month period on the job. Set if the job `PayType` is `SALARY`. */ annualRate?: Square.Money; /** The planned hours per week for the job. Set if the job `PayType` is `SALARY`. */ weeklyHours?: number | null; /** The ID of the [job](entity:Job). */ jobId?: string | null; }