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 开发者网站政策。Java 是 Oracle 和/或其关联公司的注册商标。
最后更新时间 (UTC):2025-07-26。
[null,null,["最后更新时间 (UTC):2025-07-26。"],[[["\u003cp\u003e\u003ccode\u003eBookingStatus\u003c/code\u003e enumerates the different states a booking can be in, such as confirmed, canceled, or pending.\u003c/p\u003e\n"],["\u003cp\u003eThis status is independent of payment status and focuses solely on the booking itself, with specific states like \u003ccode\u003eNO_SHOW_PENALIZED\u003c/code\u003e providing further context.\u003c/p\u003e\n"],["\u003cp\u003eWhile \u003ccode\u003eBookingStatus\u003c/code\u003e covers various scenarios including merchant confirmations and cancellations, it also includes statuses for system failures (\u003ccode\u003eFAILED\u003c/code\u003e) and merchant declines (\u003ccode\u003eDECLINED_BY_MERCHANT\u003c/code\u003e).\u003c/p\u003e\n"],["\u003cp\u003eCertain statuses like \u003ccode\u003ePENDING_MERCHANT_CONFIRMATION\u003c/code\u003e and \u003ccode\u003eDECLINED_BY_MERCHANT\u003c/code\u003e are exclusive to non-payment bookings within the Dining and Beauty verticals.\u003c/p\u003e\n"]]],["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"],null,["# BookingStatus definition\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.\nenum BookingStatus {\n // Not specified.\n BOOKING_STATUS_UNSPECIFIED = 0;\n\n // Booking has been confirmed\n CONFIRMED = 1;\n\n // Booking is awaiting confirmation by the merchant before it can transition\n // into CONFIRMED status. Only applicable to non-payments Dining or\n // Beauty verticals.\n PENDING_MERCHANT_CONFIRMATION = 2;\n\n // Booking has been canceled on behalf of the user.\n // The merchant can still trigger a manual refund.\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 // Booking could not be completed by the async backend due to a failure.\n FAILED = 6;\n\n // Booking was asynchronously declined by the merchant. Only applicable to\n // non-payments Dining or Beauty verticals.\n DECLINED_BY_MERCHANT = 7;\n}\n```"]]