ModelBreak

March 13, 2019 ยท View on GitHub

squareconnect.models.model_break

Description

A record of an employee's break during a shift.

Properties

NameTypeDescriptionNotes
idstrUUID for this object[optional]
start_atstrRFC 3339; follows same timezone info as `Shift`. Precision up to the minute is respected; seconds are truncated.
end_atstrRFC 3339; follows same timezone info as `Shift`. Precision up to the minute is respected; seconds are truncated. The `end_at` minute is not counted when the break length is calculated. For example, a break from `00:00` to `00:11` is considered a 10 minute break (midnight to 10 minutes after midnight).[optional]
break_type_idstrThe `BreakType` this `Break` was templated on.
namestrA human-readable name.
expected_durationstrFormat: RFC-3339 P[n]Y[n]M[n]DT[n]H[n]M[n]S. The expected length of the break.
is_paidboolWhether this break counts towards time worked for compensation purposes.

[Back to Model list] [Back to API list] [Back to README]