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;
}
달리 명시되지 않는 한 이 페이지의 콘텐츠에는 Creative Commons Attribution 4.0 라이선스에 따라 라이선스가 부여되며, 코드 샘플에는 Apache 2.0 라이선스에 따라 라이선스가 부여됩니다. 자세한 내용은 Google Developers 사이트 정책을 참조하세요. 자바는 Oracle 및/또는 Oracle 계열사의 등록 상표입니다.
최종 업데이트: 2024-11-26(UTC)
[null,null,["최종 업데이트: 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"]]