WorkweekConfig

March 27, 2019 ยท View on GitHub

Description

Sets the Day of the week and hour of the day that a business starts a work week. Used for the calculation of overtime pay.

Properties

NameGetterSetterTypeDescriptionNotes
idgetId()setId($value)stringUUID for this object[optional]
start_of_weekgetStartOfWeek()setStartOfWeek($value)stringThe day of the week on which a business week cuts over for compensation purposes. See Weekday for possible values
start_of_day_local_timegetStartOfDayLocalTime()setStartOfDayLocalTime($value)stringThe local time at which a business week cuts over. Represented as a string in `HH:MM` format (`HH:MM:SS` is also accepted, but seconds are truncated).
versiongetVersion()setVersion($value)intUsed for resolving concurrency issues; request will fail if version provided does not match server version at time of request. If not provided, Square executes a blind write; potentially overwriting data from another write.[optional]
created_atgetCreatedAt()setCreatedAt($value)stringA read-only timestamp in RFC 3339 format; presented in UTC[optional]
updated_atgetUpdatedAt()setUpdatedAt($value)stringA read-only timestamp in RFC 3339 format; presented in UTC[optional]

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

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