BookingStatus Definition
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.
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;
}
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 2024-10-31 UTC.
[null,null,["Last updated 2024-10-31 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"]]