Event System
Page
Thanks View

View/Thanks

Triggered when user reaches the Thanks step, to show a summary of their reservation.

roomstay.events.on('View/Thanks', (event: StepThanksViewEvent) => {
  console.log(`User is on the thanks step, with ${event.IEventReservations.length} reservations`)
})

IEventReservations

IEventReservations contains a list of specific reservations data. Useful for checking important details of a customers reservations.

Type: IEventReservation[]