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;
}
달리 명시되지 않는 한 이 페이지의 콘텐츠에는 Creative Commons Attribution 4.0 라이선스에 따라 라이선스가 부여되며, 코드 샘플에는 Apache 2.0 라이선스에 따라 라이선스가 부여됩니다. 자세한 내용은 Google Developers 사이트 정책을 참조하세요. 자바는 Oracle 및/또는 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 payment status and focuses solely on the booking itself, with specific states like `NO_SHOW_PENALIZED` providing further context."],["While `BookingStatus` covers various scenarios including merchant confirmations and cancellations, it also includes statuses for system failures (`FAILED`) and merchant declines (`DECLINED_BY_MERCHANT`)."],["Certain statuses like `PENDING_MERCHANT_CONFIRMATION` and `DECLINED_BY_MERCHANT` are exclusive to non-payment bookings within the Dining and Beauty verticals."]]],["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"]]