ListBookings 方法
此方法会返回用户在任何商家进行的后续预订。此方法不应返回过去的预订或已取消的预订。
请求
ListBookingsRequest
返回值
ListBookingsResponse
// Request to list all bookings for a user
message ListBookingsRequest {
// ID of the user (required)
string user_id = 1;
}
// Response for the ListBookings RPC with all bookings for the requested user.
message ListBookingsResponse {
// All bookings of the user (required)
repeated Booking bookings = 1;
}
如未另行说明,那么本页面中的内容已根据知识共享署名 4.0 许可获得了许可,并且代码示例已根据 Apache 2.0 许可获得了许可。有关详情,请参阅 Google 开发者网站政策。Java 是 Oracle 和/或其关联公司的注册商标。
最后更新时间 (UTC):2024-11-26。
[null,null,["最后更新时间 (UTC):2024-11-26。"],[[["The `ListBookings` method retrieves a user's future bookings at any merchant, excluding past or cancelled bookings."],["The request message, `ListBookingsRequest`, requires the user's ID."],["The response message, `ListBookingsResponse`, provides a list of the user's bookings in the `bookings` field."]]],[]]