Booking status specification
Stay organized with collections
Save and categorize content based on your preferences.
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;
}
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2025-05-20 UTC.
[null,null,["Last updated 2025-05-20 UTC."],[[["\u003cp\u003e\u003ccode\u003eBookingStatus\u003c/code\u003e is an enumeration representing the current state of a booking, such as confirmed, canceled, or no-show.\u003c/p\u003e\n"],["\u003cp\u003eThis status is independent of payment or prepayment status, which are handled separately.\u003c/p\u003e\n"],["\u003cp\u003eSpecific \u003ccode\u003eBookingStatus\u003c/code\u003e values indicate whether a no-show violated cancellation policies (\u003ccode\u003eNO_SHOW_PENALIZED\u003c/code\u003e).\u003c/p\u003e\n"]]],["BookingStatus, representing the status of an existing booking, includes several states. These states are `CONFIRMED`, indicating a confirmed booking; `CANCELED`, meaning the booking was canceled; `NO_SHOW`, where the user missed the appointment; and `NO_SHOW_PENALIZED`, where the user missed the appointment and violated the cancellation policy. Importantly, updating the booking status does not impact associated payment statuses. Prepayment status changes should use the PrepaymentStatus enum instead.\n"],null,["# Booking status specification\n\nBookingStatus is the status of an existing Booking. \n\n```gdscript\n// Status of a booking.\n//\n// Updating booking status does not change the status of the associated payment.\n// Prepayment status updates should be done using the PrepaymentStatus enum.\n//\n// nextID: 6\nenum BookingStatus {\n // Not specified.\n BOOKING_STATUS_UNSPECIFIED = 0;\n\n // Booking has been confirmed\n CONFIRMED = 1;\n\n // ...\n CANCELED = 3;\n\n // User did not show for the appointment\n NO_SHOW = 4;\n\n // User did not show for the appointment in violation of the cancellation\n // policy.\n NO_SHOW_PENALIZED = 5;\n}\n```"]]