Metoda GetBookingStatus
Wyślij prośbę
GetBookingStatusRequest
Zwracana wartość
GetBookingStatusResponse
Kanoniczne kody błędów gRPC
NOT_FOUND
(jeśli podany identyfikator rezerwacji jest nieznany partnerowi)
// 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;
}
O ile nie stwierdzono inaczej, treść tej strony jest objęta licencją Creative Commons – uznanie autorstwa 4.0, a fragmenty kodu są dostępne na licencji Apache 2.0. Szczegółowe informacje na ten temat zawierają zasady dotyczące witryny Google Developers. Java jest zastrzeżonym znakiem towarowym firmy Oracle i jej podmiotów stowarzyszonych.
Ostatnia aktualizacja: 2024-11-26 UTC.
[null,null,["Ostatnia aktualizacja: 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."]]],[]]