קל לארגן דפים בעזרת אוספים
אפשר לשמור ולסווג תוכן על סמך ההעדפות שלך.
השיטה הזו מחזירה את סטטוס ההזמנה של משתמש על סמך מזהה ההזמנה שסופק.
בקשה
GetBookingStatusRequest
ערך המוחזר
GetBookingStatusResponse
// Request to get booking status and prepayment status for a Booking.messageGetBookingStatusRequest{// ID of the existing booking (required)stringbooking_id=1;}// Response for the GetBookingStatus RPC with booking status and prepayment// status.messageGetBookingStatusResponse{// ID of the booking (required)stringbooking_id=1;// Status of the booking (required)BookingStatusbooking_status=2;// Prepayment status of the booking (required)PrepaymentStatusprepayment_status=3;}
[[["התוכן קל להבנה","easyToUnderstand","thumb-up"],["התוכן עזר לי לפתור בעיה","solvedMyProblem","thumb-up"],["סיבה אחרת","otherUp","thumb-up"]],[["חסרים לי מידע או פרטים","missingTheInformationINeed","thumb-down"],["התוכן מורכב מדי או עם יותר מדי שלבים","tooComplicatedTooManySteps","thumb-down"],["התוכן לא עדכני","outOfDate","thumb-down"],["בעיה בתרגום","translationIssue","thumb-down"],["בעיה בדוגמאות/בקוד","samplesCodeIssue","thumb-down"],["סיבה אחרת","otherDown","thumb-down"]],["עדכון אחרון: 2024-11-26 (שעון UTC)."],[[["This method retrieves the status of a booking using a provided booking ID."],["The request requires a `booking_id` and returns a `booking_status` and a `prepayment_status`."],["`booking_status` details can be found in the provided link."],["`prepayment_status` indicates whether the booking has been prepaid, not prepaid, refunded, or credited."],["The `prepayment_status` can transition from `PREPAYMENT_PROVIDED` to `PREPAYMENT_REFUNDED`, initiating a non-reversible refund."]]],["The `GetBookingStatusRequest` uses a `booking_id` to retrieve a `GetBookingStatusResponse`. The response includes the `booking_id`, `BookingStatus`, and `PrepaymentStatus`. `PrepaymentStatus` options are `PREPAYMENT_PROVIDED`, `PREPAYMENT_NOT_PROVIDED`, `PREPAYMENT_REFUNDED`, or `PREPAYMENT_CREDITED`. Updating prepayment status from `PREPAYMENT_PROVIDED` to `PREPAYMENT_REFUNDED` triggers a refund. `PREPAYMENT_CREDITED` requires an updated UserPaymentOption in the response.\n"]]