/** * Apaleo Rates API * Manage the rate plans and rates to rent out your inventory at the best price. * * OpenAPI spec version: 1.0.0 * * * 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 { EmbeddedPropertyModel } from './embeddedPropertyModel'; import { EmbeddedTimeSliceDefinitionModel } from './embeddedTimeSliceDefinitionModel'; import { EmbeddedUnitGroupModel } from './embeddedUnitGroupModel'; import { FormBuilder, FormGroup } from '@angular/forms'; import { ApaleoEnumPropertyMetaData, ApaleoPropertyMetaData, BuildFormOptions, ResponseModel } from '@apaleo/angular-api-proxy-common'; export interface RatePlanItemModel { /** * The rateplan id */ id: string; /** * The code for the rateplan that can be shown in reports and table views */ code: string; /** * The name for the rateplan */ name: string; /** * The description for the rateplan */ description: string; /** * The minimum guarantee to be put on a reservation when this rate plan is booked */ minGuaranteeType: RatePlanItemModel.MinGuaranteeTypeEnum; /** * The property to which the rateplan belongs to */ property: EmbeddedPropertyModel; /** * The unit group offered with this rate plan */ unitGroup: EmbeddedUnitGroupModel; /** * Defines the time periods for which the unit group related to this rate plan is rented out */ timeSliceDefinition: EmbeddedTimeSliceDefinitionModel; } export declare namespace RatePlanItemModel { type MinGuaranteeTypeEnum = 'PM6Hold' | 'CreditCard' | 'Prepayment'; const MinGuaranteeTypeEnumValues: ReadonlyArray<"PM6Hold" | "CreditCard" | "Prepayment">; } export declare type RatePlanItemModelWithRawHttp = RatePlanItemModel & ResponseModel; export declare namespace RatePlanItemModel { const $metaData: { id: Readonly; code: Readonly; name: Readonly; description: Readonly; minGuaranteeType: Readonly>; property: Readonly; unitGroup: Readonly; timeSliceDefinition: Readonly; }; function $buildForm(fb: FormBuilder, options?: BuildFormOptions): FormGroup; }