Définition de BookingStatus
La valeur de la valeur "Réservations" est l'état d'une réservation existante.
// 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;
}
Sauf indication contraire, le contenu de cette page est régi par une licence Creative Commons Attribution 4.0, et les échantillons de code sont régis par une licence Apache 2.0. Pour en savoir plus, consultez les Règles du site Google Developers. Java est une marque déposée d'Oracle et/ou de ses sociétés affiliées.
Dernière mise à jour le 2024/11/26 (UTC).
[null,null,["Dernière mise à jour le 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"]]