Stay organized with collections
Save and categorize content based on your preferences.
To finalize an appointment, a Lease is converted into a Booking. Information
about the client (user) making the booking is only transferred at this stage.
After a Lease has been used once to create a Booking, it is retired and cannot
be used to create any further bookings.
// A booking for an inventory slotmessageBooking{// ID of this bookingstringbooking_id=1;// ID of the merchant for the slotstringmerchant_id=2;// ID of the merchant servicestringservice_id=3;// Start time of the appointment slotgoogle.protobuf.Timestampstart_time=4;// Duration of the appointment slotgoogle.protobuf.Durationduration=5;// Personal information of the client making the appointmentClientInformationclient_information=6;// Status of the bookingBookingStatusstatus=7;// Information about payment transactions that relate to the booking.PaymentInformationpayment_information=8;// Information about virtual session related to this booking. (optional)VirtualSessionInfovirtual_session_info=9;}
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2024-10-31 UTC."],[[["A `Booking` represents a finalized appointment and is created from a `Lease`, transferring client information during this conversion."],["`Lease` objects are single-use; after generating one `Booking`, they are retired and cannot be used to create further bookings."],["A `Booking` stores details about the appointment, including the merchant and service, time and duration, client information, status, payment, and optional virtual session information."]]],[]]