BreakType

March 13, 2019 ยท View on GitHub

Description

A defined break template that sets an expectation for possible Break instances on a Shift.

Properties

NameGetterSetterTypeDescriptionNotes
idgetId()setId($value)stringUUID for this object.[optional]
location_idgetLocationId()setLocationId($value)stringThe ID of the business location this type of break applies to.
break_namegetBreakName()setBreakName($value)stringA human-readable name for this type of break. Will be displayed to employees in Square products.
expected_durationgetExpectedDuration()setExpectedDuration($value)stringFormat: RFC-3339 P[n]Y[n]M[n]DT[n]H[n]M[n]S. The expected length of this break. Precision below minutes is truncated.
is_paidgetIsPaid()setIsPaid($value)boolWhether this break counts towards time worked for compensation purposes.
versiongetVersion()setVersion($value)intUsed for resolving concurrency issues; request will fail if version provided does not match server version at time of request. If a value is not provided, Square's servers execute a "blind" write; potentially overwriting another writer's data.[optional]
created_atgetCreatedAt()setCreatedAt($value)stringA read-only timestamp in RFC 3339 format.[optional]
updated_atgetUpdatedAt()setUpdatedAt($value)stringA read-only timestamp in RFC 3339 format.[optional]

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

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