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;
}