UNPKG

@revolugo/booking-api-client

Version:

Javascript Revolugo Booking API Client (browser + server)

65 lines (64 loc) 2.35 kB
import { EventMetadataApi } from './EventMetadataApi'; import { SourceMarket } from './SourceMarket'; /** * * @export * @interface HotelRoomOfferRequestApiResponseAllOf */ export interface HotelRoomOfferRequestApiResponseAllOf { /** * Requested number of adult(s) to be accommodated. * @type {number} * @memberof HotelRoomOfferRequestApiResponseAllOf */ adultCount: number; /** * Check-in date formatted as `YYYY-MM-DD`. * @type {string} * @memberof HotelRoomOfferRequestApiResponseAllOf */ checkInDate: string; /** * Check-out date formatted as `YYYY-MM-DD`. * @type {string} * @memberof HotelRoomOfferRequestApiResponseAllOf */ checkOutDate: string; /** * A comma-separated list of child ages (0 up to 17). e.g.: "3,7" represents 2 children respectively 3 and 7 years old. * @type {string} * @memberof HotelRoomOfferRequestApiResponseAllOf */ children?: string | null; /** * * @type {EventMetadataApi} * @memberof HotelRoomOfferRequestApiResponseAllOf */ eventMetadata?: EventMetadataApi | null; /** * id of requested hotel * @type {string} * @memberof HotelRoomOfferRequestApiResponseAllOf */ hotelId: string; /** * Number of room(s) requested. Results may display offers matching a different room count than the requested one, however those results will always provide enough occupancy for the total guest count needed. * @type {number} * @memberof HotelRoomOfferRequestApiResponseAllOf */ roomCount: number; /** * * @type {SourceMarket} * @memberof HotelRoomOfferRequestApiResponseAllOf */ sourceMarket: SourceMarket; } /** * Check if a given object implements the HotelRoomOfferRequestApiResponseAllOf interface. */ export declare function instanceOfHotelRoomOfferRequestApiResponseAllOf(value: object): boolean; export declare function HotelRoomOfferRequestApiResponseAllOfFromJSON(json: any): HotelRoomOfferRequestApiResponseAllOf; export declare function HotelRoomOfferRequestApiResponseAllOfFromJSONTyped(json: any, ignoreDiscriminator: boolean): HotelRoomOfferRequestApiResponseAllOf; export declare function HotelRoomOfferRequestApiResponseAllOfToJSON(value?: HotelRoomOfferRequestApiResponseAllOf | null): any;