AvailabilityRestriction Model

Represents a single day/time restriction on a remote ordering menu's availability

Nullable
daysOfWeek : DatePartDayOfWeek []

What days of the week does this restriction apply. If null / empty - treat as no day of week restriction

If multiple days of week are specified, treat it as an OR clause (i.e. it will match a day if the day matches ANY of the specified days)

Nullable
timePeriods : AvailabilityRestrictionTimePeriod []

What time(s) of day does this restriction apply. If null / empty - treat as no time restriction

If multiple time periods are specified, treat it as an OR clause (i.e. it will match a time if ANY of the periods enclose that time)

Example
{
  "daysOfWeek": [1],
  "timePeriods": []
}