예약 사양
예약을 완료하기 위해 임대가 예약으로 전환됩니다. 예약하는
고객(사용자)에 대한 정보는 이 단계에서만 전송됩니다.
임대가 예약 생성에 사용되면 해당 임대는 만료되므로
추가 예약을 생성하는 데 사용할 수 없습니다.
// 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;
}
달리 명시되지 않는 한 이 페이지의 콘텐츠에는 Creative Commons Attribution 4.0 라이선스에 따라 라이선스가 부여되며, 코드 샘플에는 Apache 2.0 라이선스에 따라 라이선스가 부여됩니다. 자세한 내용은 Google Developers 사이트 정책을 참조하세요. 자바는 Oracle 및/또는 Oracle 계열사의 등록 상표입니다.
최종 업데이트: 2024-11-26(UTC)
[null,null,["최종 업데이트: 2024-11-26(UTC)"],[[["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"]]