ShiftFilter

November 20, 2019 ยท View on GitHub

Description

Defines a filter used in a search for Shift records. AND logic is used by Square's servers to apply each filter property specified.

Properties

NameGetterSetterTypeDescriptionNotes
location_idsgetLocationIds()setLocationIds($value)string[]Fetch shifts for the specified location.[optional]
employee_idsgetEmployeeIds()setEmployeeIds($value)string[]Fetch shifts for the specified employee.[optional]
statusgetStatus()setStatus($value)stringFetch a `Shift` instance by `Shift.status`. See ShiftFilterStatus for possible values[optional]
startgetStart()setStart($value)\SquareConnect\Model\TimeRangeFetch `Shift`s that start in the time range - Inclusive.[optional]
endgetEnd()setEnd($value)\SquareConnect\Model\TimeRangeFetch the `Shift`s that end in the time range - Inclusive.[optional]
workdaygetWorkday()setWorkday($value)\SquareConnect\Model\ShiftWorkdayFetch the `Shift`s based on workday date range.[optional]

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

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