예약 사양

예약을 완료하기 위해 임대가 예약으로 전환됩니다. 예약하는 고객(사용자)에 대한 정보는 이 단계에서만 전송됩니다. 임대가 예약 생성에 사용되면 해당 임대는 만료되므로 추가 예약을 생성하는 데 사용할 수 없습니다.

// 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;
}