V1Timecard

February 26, 2020 · View on GitHub

Description

Represents a timecard for an employee. Note: This model is deprecated.

Properties

NameGetterSetterTypeDescriptionNotes
idgetId()setId($value)stringThe timecard's unique ID.[optional]
employee_idgetEmployeeId()setEmployeeId($value)stringThe ID of the employee the timecard is associated with.
deletedgetDeleted()setDeleted($value)boolIf true, the timecard was deleted by the merchant, and it is no longer valid.[optional]
clockin_timegetClockinTime()setClockinTime($value)stringThe clock-in time for the timecard, in ISO 8601 format.[optional]
clockout_timegetClockoutTime()setClockoutTime($value)stringThe clock-out time for the timecard, in ISO 8601 format. Provide this value only if importing timecard information from another system.[optional]
clockin_location_idgetClockinLocationId()setClockinLocationId($value)stringThe ID of the location the employee clocked in from. We strongly reccomend providing a clockin_location_id. Square uses the clockin_location_id to determine a timecard’s timezone and overtime rules.[optional]
clockout_location_idgetClockoutLocationId()setClockoutLocationId($value)stringThe ID of the location the employee clocked out from. Provide this value only if importing timecard information from another system.[optional]
created_atgetCreatedAt()setCreatedAt($value)stringThe time when the timecard was created, in ISO 8601 format.[optional]
updated_atgetUpdatedAt()setUpdatedAt($value)stringThe time when the timecard was most recently updated, in ISO 8601 format.[optional]
regular_seconds_workedgetRegularSecondsWorked()setRegularSecondsWorked($value)floatThe total number of regular (non-overtime) seconds worked in the timecard.[optional]
overtime_seconds_workedgetOvertimeSecondsWorked()setOvertimeSecondsWorked($value)floatThe total number of overtime seconds worked in the timecard.[optional]
doubletime_seconds_workedgetDoubletimeSecondsWorked()setDoubletimeSecondsWorked($value)floatThe total number of doubletime seconds worked in the timecard.[optional]

Note: All properties are protected and only accessed via getters and setters.

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