Booking 정의
예약은 인벤토리 시간대에 지정된 약속입니다. 여기에는 약속을 식별하고 예약하는 데 필요한 정보가 포함됩니다.
Booking 정의
// A booking for an inventory slot
message Booking {
// ID of this booking, which must be unique across all bookings. (required)
string booking_id = 1;
// The appointment slot of this booking
// (required for CreateBooking and UpdateBooking:modify,
// but not UpdateBooking:cancel)
Slot slot = 2;
// Personal information of the user making the appointment (required for
// CreateBooking)
UserInformation user_information = 3;
// Status of the booking (required for CreateBooking and UpdateBooking:cancel,
// but not UpdateBooking:modify)
BookingStatus status = 4;
// Information about payment transactions that relate to the booking.
// (optional)
PaymentInformation payment_information = 5;
// Information about virtual session related to this booking. (optional)
VirtualSessionInfo virtual_session_info = 6;
// Information about the Offer applied to this booking.
//
// Required in CreateBookingResponse if an offer_id was set on the
// CreateBookingRequest that created the Booking.
OfferInfo offer_info = 7;
}
OfferInfo 정의
// Information about an Offer applied to a booking.
message OfferInfo {
// The ID of the Offer.
string offer_id = 1;
}
달리 명시되지 않는 한 이 페이지의 콘텐츠에는 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 an appointment for an inventory slot and contains details like booking ID, slot, user information, status, and optional payment, virtual session, and offer information."],["Bookings require a unique booking ID, appointment slot, and user information during creation and can optionally include payment, virtual session, and offer details."],["Offer information within a booking includes the offer ID and is included in the CreateBookingResponse if an offer ID was provided in the request."]]],["A Booking represents an appointment for an inventory slot, identified by a unique `booking_id`. It requires a `slot`, `user_information`, and `status`. Optional data includes `payment_information` and `virtual_session_info`. If an offer was applied, `offer_info` containing the `offer_id` must be included. Bookings are created or modified, with cancellation being a separate update. `OfferInfo` holds the `offer_id` of any offer applied to a booking.\n"]]