// A booking for an inventory slotmessageBooking{// ID of this booking, which must be unique across all bookings. (required)stringbooking_id=1;// The appointment slot of this booking// (required for CreateBooking and UpdateBooking:modify,// but not UpdateBooking:cancel)Slotslot=2;// Personal information of the user making the appointment (required for// CreateBooking)UserInformationuser_information=3;// Status of the booking (required for CreateBooking and UpdateBooking:cancel,// but not UpdateBooking:modify)BookingStatusstatus=4;// Information about payment transactions that relate to the booking.// (optional)PaymentInformationpayment_information=5;// Information about virtual session related to this booking. (optional)VirtualSessionInfovirtual_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.OfferInfooffer_info=7;}
OfferInfo 定義
// Information about an Offer applied to a booking.messageOfferInfo{// The ID of the Offer.stringoffer_id=1;}
[[["容易理解","easyToUnderstand","thumb-up"],["確實解決了我的問題","solvedMyProblem","thumb-up"],["其他","otherUp","thumb-up"]],[["缺少我需要的資訊","missingTheInformationINeed","thumb-down"],["過於複雜/步驟過多","tooComplicatedTooManySteps","thumb-down"],["過時","outOfDate","thumb-down"],["翻譯問題","translationIssue","thumb-down"],["示例/程式碼問題","samplesCodeIssue","thumb-down"],["其他","otherDown","thumb-down"]],["上次更新時間:2024-11-26 (世界標準時間)。"],[[["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"]]