预订规范
为了完成预约,系统会将“租借”转换为“预订”。仅在此阶段传输执行预订操作的客户端(用户)的相关信息。使用“租借”创建一次预订后,相应“租借”便无法再用于创建其他预订。
// A booking for an inventory slot
message Booking {
// ID of this booking
string booking_id = 1;
// ID of the merchant for the slot
string merchant_id = 2;
// ID of the merchant service
string service_id = 3;
// Start time of the appointment slot
google.protobuf.Timestamp start_time = 4;
// Duration of the appointment slot
google.protobuf.Duration duration = 5;
// Personal information of the client making the appointment
ClientInformation client_information = 6;
// Status of the booking
BookingStatus status = 7;
// Information about payment transactions that relate to the booking.
PaymentInformation payment_information = 8;
// Information about virtual session related to this booking. (optional)
VirtualSessionInfo virtual_session_info = 9;
}
如未另行说明,那么本页面中的内容已根据知识共享署名 4.0 许可获得了许可,并且代码示例已根据 Apache 2.0 许可获得了许可。有关详情,请参阅 Google 开发者网站政策。Java 是 Oracle 和/或其关联公司的注册商标。
最后更新时间 (UTC):2024-11-26。
[null,null,["最后更新时间 (UTC):2024-11-26。"],[[["A `Booking` represents a finalized appointment and is created from a `Lease`, transferring client information during this conversion."],["`Lease` objects are retired after generating one `Booking`, preventing their reuse for further appointment scheduling."],["`Booking` includes details like booking ID, merchant and service IDs, appointment time, duration, client information, booking status, payment details, and optional virtual session data."]]],["A Lease is transformed into a Booking to confirm an appointment. Client details are transferred during this conversion. Once a Lease is used for a Booking, it becomes inactive. A Booking record includes a unique ID, merchant and service identifiers, start time, duration, client information, booking status, payment details, and optional virtual session information.\n"]]