예약 사양

예약은 인벤토리 시간대에 지정된 약속입니다. 여기에는 약속을 식별하고 예약하는 데 필요한 정보가 포함됩니다.

// A booking for an inventory slot
message Booking {
  // ID of this booking (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;
}

예약 잡기

예약을 잡는 데는 두 가지 방법이 있습니다.

  • 예약은 슬롯에서 바로 만들 수 있습니다.
  • 임대 기간을 선택적으로 지원하면 먼저 슬롯에 대한 임대가 생성된 후 예약으로 완료됩니다.

자세한 내용은 CreateBooking을 참조하세요.

예약 업데이트

예약은 일정을 변경하거나 예약을 취소하는 등 업데이트할 수 있습니다.
자세한 내용은 UpdateBooking을 참조하세요.

예약 상태 가져오기

예약의 예약 상태 (BookingStatus 참고) 및 선불 상태 (PrepaymentStatus 참고)는 GetBookingStatusListBookings를 통해 읽을 수 있습니다.