เมธอด GetBookingStatus
คำขอ
GetBookingStatusRequest
ผลลัพธ์
GetBookingStatusResponse
รหัสข้อผิดพลาด gRPC ของ Canonical
NOT_FOUND
(หากพาร์ทเนอร์ไม่ทราบรหัสการจองที่ระบุ)
// Request to get booking status and prepayment status for a
// [ext.maps.booking.partner.v2.Booking]
message GetBookingStatusRequest {
// ID of the existing booking (required)
string booking_id = 1;
}
// Response for the [ext.maps.booking.partner.v2.GetBookingStatus] RPC with
// booking status and prepayment status
message GetBookingStatusResponse {
// ID of the booking (required)
string booking_id = 1;
// Status of the booking (required)
BookingStatus booking_status = 2;
// Prepayment status of the booking (required)
PrepaymentStatus prepayment_status = 3;
}
เนื้อหาของหน้าเว็บนี้ได้รับอนุญาตภายใต้ใบอนุญาตที่ต้องระบุที่มาของครีเอทีฟคอมมอนส์ 4.0 และตัวอย่างโค้ดได้รับอนุญาตภายใต้ใบอนุญาต Apache 2.0 เว้นแต่จะระบุไว้เป็นอย่างอื่น โปรดดูรายละเอียดที่นโยบายเว็บไซต์ Google Developers Java เป็นเครื่องหมายการค้าจดทะเบียนของ Oracle และ/หรือบริษัทในเครือ
อัปเดตล่าสุด 2024-11-26 UTC
[null,null,["อัปเดตล่าสุด 2024-11-26 UTC"],[[["`GetBookingStatusRequest` retrieves the status and prepayment status of a booking using the booking ID."],["`GetBookingStatusResponse` returns the booking ID, booking status (`BookingStatus`), and prepayment status (`PrepaymentStatus`)."],["If the booking ID is not found, a `NOT_FOUND` error is returned."]]],["The `GetBookingStatusRequest` requires a `booking_id` to retrieve booking information. The `GetBookingStatusResponse` returns the `booking_id`, the `booking_status`, and the `prepayment_status`. A `NOT_FOUND` error is returned if the provided `booking_id` is not recognized. This interaction allows partners to check the status and prepayment status of a booking by its ID.\n"]]