預訂狀態規格
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;
}
除非另有註明,否則本頁面中的內容是採用創用 CC 姓名標示 4.0 授權,程式碼範例則為阿帕契 2.0 授權。詳情請參閱《Google Developers 網站政策》。Java 是 Oracle 和/或其關聯企業的註冊商標。
上次更新時間:2024-11-26 (世界標準時間)。
[null,null,["上次更新時間:2024-11-26 (世界標準時間)。"],[[["`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, 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"]]