GetBookingStatus 方法
请求
GetBookingStatusRequest
返回值
GetBookingStatusResponse
规范化 gRPC 错误代码
NOT_FOUND
(如果合作伙伴不知道所提供的预订 ID)
// 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 开发者网站政策。Java 是 Oracle 和/或其关联公司的注册商标。
最后更新时间 (UTC):2024-11-26。
[null,null,["最后更新时间 (UTC):2024-11-26。"],[[["`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"]]