تعریف وضعیت رزرو

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;
}