UNPKG

@revolugo/booking-api-client

Version:

Javascript Revolugo Booking API Client (browser + server)

77 lines (76 loc) 2.58 kB
import { EventMetadataApi } from './EventMetadataApi'; import { SourceMarket } from './SourceMarket'; /** * * @export * @interface HotelRoomOfferRequestApiResponse */ export interface HotelRoomOfferRequestApiResponse { /** * Requested number of adult(s) to be accommodated. * @type {number} * @memberof HotelRoomOfferRequestApiResponse */ adultCount: number; /** * Check-in date formatted as `YYYY-MM-DD`. * @type {string} * @memberof HotelRoomOfferRequestApiResponse */ checkInDate: string; /** * Check-out date formatted as `YYYY-MM-DD`. * @type {string} * @memberof HotelRoomOfferRequestApiResponse */ 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 HotelRoomOfferRequestApiResponse */ children?: string | null; /** * * @type {EventMetadataApi} * @memberof HotelRoomOfferRequestApiResponse */ eventMetadata?: EventMetadataApi | null; /** * id of requested hotel * @type {string} * @memberof HotelRoomOfferRequestApiResponse */ 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 HotelRoomOfferRequestApiResponse */ roomCount: number; /** * * @type {SourceMarket} * @memberof HotelRoomOfferRequestApiResponse */ sourceMarket: SourceMarket; /** * Date of the **Hotel Room Offer Request** creation * @type {string} * @memberof HotelRoomOfferRequestApiResponse */ createdAt: string; /** * id of the **Hotel Room Offer Request** * @type {string} * @memberof HotelRoomOfferRequestApiResponse */ id: string; } /** * Check if a given object implements the HotelRoomOfferRequestApiResponse interface. */ export declare function instanceOfHotelRoomOfferRequestApiResponse(value: object): boolean; export declare function HotelRoomOfferRequestApiResponseFromJSON(json: any): HotelRoomOfferRequestApiResponse; export declare function HotelRoomOfferRequestApiResponseFromJSONTyped(json: any, ignoreDiscriminator: boolean): HotelRoomOfferRequestApiResponse; export declare function HotelRoomOfferRequestApiResponseToJSON(value?: HotelRoomOfferRequestApiResponse | null): any;