FileMaster
Search
Toggle Dark Mode
Home
/
.
/
wp-content
/
plugins
/
ameliabooking
/
vendor
/
square
/
square
/
doc
/
models
Edit File: business-hours.md
# Business Hours The hours of operation for a location. ## Structure `BusinessHours` ## Fields | Name | Type | Tags | Description | Getter | Setter | | --- | --- | --- | --- | --- | --- | | `periods` | [`?(BusinessHoursPeriod[])`](../../doc/models/business-hours-period.md) | Optional | The list of time periods during which the business is open. There can be at most 10 periods per day. | getPeriods(): ?array | setPeriods(?array periods): void | ## Example (as JSON) ```json { "periods": [ { "day_of_week": "WED", "start_local_time": "start_local_time4", "end_local_time": "end_local_time6" }, { "day_of_week": "WED", "start_local_time": "start_local_time4", "end_local_time": "end_local_time6" }, { "day_of_week": "WED", "start_local_time": "start_local_time4", "end_local_time": "end_local_time6" } ] } ```
Save
Back