预约状态规范
使用集合让一切井井有条
根据您的偏好保存内容并对其进行分类。
BookingStatus 指现有预订的状态。
// 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;
}
如未另行说明,那么本页面中的内容已根据知识共享署名 4.0 许可获得了许可,并且代码示例已根据 Apache 2.0 许可获得了许可。有关详情,请参阅 Google 开发者网站政策。Java 是 Oracle 和/或其关联公司的注册商标。
最后更新时间 (UTC):2025-07-26。
[null,null,["最后更新时间 (UTC):2025-07-26。"],[[["\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```"]]