@revolugo/booking-api-client
Version:
Javascript Revolugo Booking API Client (browser + server)
65 lines (64 loc) • 2.23 kB
TypeScript
import { EventMetadataApi } from './EventMetadataApi';
import { SourceMarket } from './SourceMarket';
/**
*
* @export
* @interface HotelRoomOfferRequestCreateApi
*/
export interface HotelRoomOfferRequestCreateApi {
/**
* Requested number of adult(s) to be accommodated.
* @type {number}
* @memberof HotelRoomOfferRequestCreateApi
*/
adultCount: number;
/**
* Check-in date formatted as `YYYY-MM-DD`.
* @type {string}
* @memberof HotelRoomOfferRequestCreateApi
*/
checkInDate: string;
/**
* Check-out date formatted as `YYYY-MM-DD`.
* @type {string}
* @memberof HotelRoomOfferRequestCreateApi
*/
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 HotelRoomOfferRequestCreateApi
*/
children?: string | null;
/**
*
* @type {EventMetadataApi}
* @memberof HotelRoomOfferRequestCreateApi
*/
eventMetadata?: EventMetadataApi | null;
/**
* id of requested hotel
* @type {string}
* @memberof HotelRoomOfferRequestCreateApi
*/
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 HotelRoomOfferRequestCreateApi
*/
roomCount: number;
/**
*
* @type {SourceMarket}
* @memberof HotelRoomOfferRequestCreateApi
*/
sourceMarket: SourceMarket;
}
/**
* Check if a given object implements the HotelRoomOfferRequestCreateApi interface.
*/
export declare function instanceOfHotelRoomOfferRequestCreateApi(value: object): boolean;
export declare function HotelRoomOfferRequestCreateApiFromJSON(json: any): HotelRoomOfferRequestCreateApi;
export declare function HotelRoomOfferRequestCreateApiFromJSONTyped(json: any, ignoreDiscriminator: boolean): HotelRoomOfferRequestCreateApi;
export declare function HotelRoomOfferRequestCreateApiToJSON(value?: HotelRoomOfferRequestCreateApi | null): any;