مواصفات حالة الحجز
تنظيم صفحاتك في مجموعات
يمكنك حفظ المحتوى وتصنيفه حسب إعداداتك المفضّلة.
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;
}
إنّ محتوى هذه الصفحة مرخّص بموجب ترخيص Creative Commons Attribution 4.0 ما لم يُنصّ على خلاف ذلك، ونماذج الرموز مرخّصة بموجب ترخيص Apache 2.0. للاطّلاع على التفاصيل، يُرجى مراجعة سياسات موقع Google Developers. إنّ Java هي علامة تجارية مسجَّلة لشركة Oracle و/أو شركائها التابعين.
تاريخ التعديل الأخير: 2025-07-26 (حسب التوقيت العالمي المتفَّق عليه)
[null,null,["تاريخ التعديل الأخير: 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```"]]