คําจํากัดความของ BookingStatus
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.
enum BookingStatus {
// Not specified.
BOOKING_STATUS_UNSPECIFIED = 0;
// Booking has been confirmed
CONFIRMED = 1;
// Booking is awaiting confirmation by the merchant before it can transition
// into CONFIRMED status. Only applicable to non-payments Dining or
// Beauty verticals.
PENDING_MERCHANT_CONFIRMATION = 2;
// Booking has been canceled on behalf of the user.
// The merchant can still trigger a manual refund.
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;
// Booking could not be completed by the async backend due to a failure.
FAILED = 6;
// Booking was asynchronously declined by the merchant. Only applicable to
// non-payments Dining or Beauty verticals.
DECLINED_BY_MERCHANT = 7;
}
เนื้อหาของหน้าเว็บนี้ได้รับอนุญาตภายใต้ใบอนุญาตที่ต้องระบุที่มาของครีเอทีฟคอมมอนส์ 4.0 และตัวอย่างโค้ดได้รับอนุญาตภายใต้ใบอนุญาต Apache 2.0 เว้นแต่จะระบุไว้เป็นอย่างอื่น โปรดดูรายละเอียดที่นโยบายเว็บไซต์ Google Developers Java เป็นเครื่องหมายการค้าจดทะเบียนของ Oracle และ/หรือบริษัทในเครือ
อัปเดตล่าสุด 2024-11-26 UTC
[null,null,["อัปเดตล่าสุด 2024-11-26 UTC"],[[["`BookingStatus` enumerates the different states a booking can be in, such as confirmed, canceled, or pending."],["This status is independent of the associated payment status and focuses solely on the booking itself."],["Specific statuses like `PENDING_MERCHANT_CONFIRMATION` and `DECLINED_BY_MERCHANT` are relevant only to non-payment verticals like Dining and Beauty."],["A booking can be marked as a no-show with a further distinction of `NO_SHOW_PENALIZED` if it violates the cancellation policy."],["While `CANCELED` indicates user cancellation allowing for potential manual refunds, `FAILED` signifies an internal backend processing failure."]]],["BookingStatus represents the state of a booking, independent of payment status. Possible statuses include `CONFIRMED`, `PENDING_MERCHANT_CONFIRMATION`, `CANCELED`, `NO_SHOW`, `NO_SHOW_PENALIZED`, `FAILED`, and `DECLINED_BY_MERCHANT`. Merchants must confirm pending bookings. Cancellation allows for manual refunds. A \"no show\" can be penalized. Bookings can also fail or be declined. `BOOKING_STATUS_UNSPECIFIED` is used when the booking status is unknown.\n"]]