/** * apaleo Rate Plan API - not safe for work * Continuously evolving version - use at your own risk! Manage the rate plans and rates to rent out your inventory and extra services. * * OpenAPI spec version: v0-nsfw * * * NOTE: This class is auto generated by the swagger code generator program. * https://github.com/swagger-api/swagger-codegen.git * Do not edit the class manually. */ import { FeeDetailsModel } from './feeDetailsModel'; import { PeriodModel } from './periodModel'; import { ClassMetaData } from '@apaleo/angular-api-proxy-common'; export interface CancellationPolicyItemModel { /** * Id */ id: string; /** * Name */ name: string; /** * The code for the cancellation policy */ code: string; /** * Description */ description: string; /** * The id of the property where the cancellation policy was created */ propertyId: string; periodFromReference: PeriodModel; /** * The due date for the cancellation policy will be calculated based on this reference point, and the defined time period. Examples: - 1 day and 12 hours prior to arrival - 0 prior to arrival (meaning, cancellations are always free) - 24 hours after booking - 0 after booking (meaning, cancellations ar never free) */ reference: CancellationPolicyItemModel.ReferenceEnum; fee: FeeDetailsModel; } export declare namespace CancellationPolicyItemModel { type ReferenceEnum = 'PriorToArrival' | 'AfterBooking'; const ReferenceEnumValues: readonly ReferenceEnum[]; } export declare namespace CancellationPolicyItemModel { const $metaData: ClassMetaData; }