UNPKG

@revolugo/booking-api-client

Version:

Javascript Revolugo Booking API Client (browser + server)

44 lines (43 loc) 1.54 kB
/** * Revolugo Booking API Reference * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) * * The version of the OpenAPI document: 1.5.0 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech * Do not edit the class manually. */ /** * * @export * @interface CancellationPolicyApi */ export interface CancellationPolicyApi { /** * The start date and time of the cancellation policy, given in the hotel timezone. * @type {string} * @memberof CancellationPolicyApi */ dateFrom: string; /** * The end date and time of the cancellation policy, given in the hotel timezone. * @type {string} * @memberof CancellationPolicyApi */ dateTo: string; /** * The penalty percentage that is due in case of cancellation during the **date_from** to **date_to** period range. * @type {number} * @memberof CancellationPolicyApi */ penaltyPercentage: number; } /** * Check if a given object implements the CancellationPolicyApi interface. */ export declare function instanceOfCancellationPolicyApi(value: object): boolean; export declare function CancellationPolicyApiFromJSON(json: any): CancellationPolicyApi; export declare function CancellationPolicyApiFromJSONTyped(json: any, ignoreDiscriminator: boolean): CancellationPolicyApi; export declare function CancellationPolicyApiToJSON(value?: CancellationPolicyApi | null): any;