ListBookings yöntemi
Bu yöntem, herhangi bir satıcıda bir kullanıcının gelecekteki rezervasyonlarını döndürür. Bu yöntem, geçmiş rezervasyonları veya iptal edilen rezervasyonları döndürmemelidir.
İstek
ListBookingsRequest
Döndürülen değer
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;
}
Aksi belirtilmediği sürece bu sayfanın içeriği Creative Commons Atıf 4.0 Lisansı altında ve kod örnekleri Apache 2.0 Lisansı altında lisanslanmıştır. Ayrıntılı bilgi için Google Developers Site Politikaları'na göz atın. Java, Oracle ve/veya satış ortaklarının tescilli ticari markasıdır.
Son güncelleme tarihi: 2024-11-26 UTC.
[null,null,["Son güncelleme tarihi: 2024-11-26 UTC."],[[["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."]]],["The `ListBookingsRequest` retrieves a user's future bookings, excluding past or cancelled ones, by utilizing a required `user_id`. The `ListBookingsResponse` returns a list of `Booking` objects, representing all future bookings associated with the specified user. The response contains a repeated `bookings` field, which is mandatory.\n"]]