import { HotelAddress } from './HotelAddress'; import { TravelProduct } from './TravelProduct'; import { TravelProductProperties } from './TravelProduct'; export declare class Hotel extends TravelProduct { /** * Unique hotel identifier assigned by the partner. */ hotelId: string; /** * Identifies if the product price was withheld from the customer during the booking process. */ priceWithheld?: boolean; /** * Name of the hotel. */ hotelName: string; /** * Total number of rooms booked within the hotel product collection. */ roomCount?: number; address: HotelAddress; /** * Local date and time of the hotel check-in, in ISO-8601 date and time format `yyyy-MM-ddTHH:mm:ss.SSSZ`. */ checkinTime: Date; /** * Local date and time of the hotel check-out, in ISO-8601 date and time format `yyyy-MM-ddTHH:mm:ss.SSSZ`. */ checkoutTime: Date; readonly type = "HOTEL"; constructor(hotel: HotelProperties); } export interface HotelProperties extends TravelProductProperties { hotelId: string; priceWithheld?: boolean; hotelName: string; roomCount?: number; address: HotelAddress; checkinTime: Date; checkoutTime: Date; }