Component: CUTOFF

Abstract

Booking cutoff allows rejecting bookings if they’re made late enough.

Values for this component can be set via ExperienceComponentsDto.cutoff which is of ExperienceCutoffDto type. Cutoff settings are required and can’t be omitted when creating a new experience.

Note (1): if cutoff is defined against RELATIVE_TO_WORKING_HOURS_OPEN or RELATIVE_TO_WORKING_HOURS_CLOSE and opening hours are absent (see DEFAULT_OPENING_HOURS component), such product is not eligible for activation (publishing).

Note(2): Date-only product is not compatible with booking cut-off that’s relative to start time.

Attributes of ExperienceCutoffDto

Attribute JSON path
Data type
Mandatory
Settable
Notes
type
ExperienceCutoffTypeDto
Defines cutoff reference point (cutoff relative to what?)
referenceHour
int
Mandatory if type == RELATIVE_TO_ONE_SET_TIME, otherwise should be omitted
Refers to some particular time (hour of day, 24hr format) along with referenceMinute. Cutoff will be applied in relation to this time
referenceMinute
int
Mandatory if type == RELATIVE_TO_ONE_SET_TIME, otherwise should be omitted
Refers to some particular time (minute of hour) along with referenceHour. Cutoff will be applied in relation to this time
minutes
int
Cutoff, minutes (will be combined into one single time unit along with hours, days and weeks)
hours
int
Cutoff, hours (will be combined into one single time unit along with minutes, days and weeks)
days
int
Cutoff, days (will be combined into one single time unit along with minutes, hours and weeks)
weeks
int
Cutoff, weeks (will be combined into one single time unit along with minutes, hours and days)
Did this answer your question?
😞
😐
🤩