วิธีการ 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 Developers Java เป็นเครื่องหมายการค้าจดทะเบียนของ 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."]]],[]]