Booking status specification

  • BookingStatus is an enumeration representing the current state of a booking, such as confirmed, canceled, or no-show.

  • This status is independent of payment or prepayment status, which are handled separately.

  • Specific BookingStatus values indicate whether a no-show violated cancellation policies (NO_SHOW_PENALIZED).

BookingStatus is the status of an existing Booking.

// Status of a booking.
//
// Updating booking status does not change the status of the associated payment.
// Prepayment status updates should be done using the PrepaymentStatus enum.
//
// nextID: 6
enum BookingStatus {
  // Not specified.
  BOOKING_STATUS_UNSPECIFIED = 0;

  // Booking has been confirmed
  CONFIRMED = 1;

  // ...
  CANCELED = 3;

  // User did not show for the appointment
  NO_SHOW = 4;

  // User did not show for the appointment in violation of the cancellation
  // policy.
  NO_SHOW_PENALIZED = 5;
}