/** * 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 CreateCancellationPolicyModel { /** * The code for the cancellation policy, used to assemble its id */ code: string; /** * The name for the cancellation policy */ name: { [key: string]: string; }; /** * The description for the cancellation policy */ description: { [key: string]: string; }; /** * The id of the property where the cancellation policy will be created */ propertyId: string; periodFromReference?: PeriodModel; /** * The due date for the cancellation policy will be calculated based on this reference point */ reference: CreateCancellationPolicyModel.ReferenceEnum; fee: FeeDetailsModel; } export declare namespace CreateCancellationPolicyModel { type ReferenceEnum = 'PriorToArrival' | 'AfterBooking'; const ReferenceEnumValues: readonly ReferenceEnum[]; } export declare namespace CreateCancellationPolicyModel { const $metaData: ClassMetaData; }