/** * 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 { AvailabilityModel } from './availabilityModel'; import { EmbeddedPropertyModel } from './embeddedPropertyModel'; import { MonetaryValueModel } from './monetaryValueModel'; import { ServiceAccountingConfigModel } from './serviceAccountingConfigModel'; import { ClassMetaData } from '@apaleo/angular-api-proxy-common'; export interface ServiceModel { /** * The service id */ id: string; /** * The code for the service */ code: string; /** * The name for the service */ name: { [key: string]: string; }; /** * The description for the service */ description: { [key: string]: string; }; defaultGrossPrice: MonetaryValueModel; /** * Defines the granularity (room, person) for which this item is offered and priced */ pricingUnit: ServiceModel.PricingUnitEnum; /** * Whether the service is delivered and posted on the same business date as the accommodation, or on the next day. */ postNextDay: boolean; availability: AvailabilityModel; /** * The collection of accounting configs with validity periods. */ accountingConfigs: Array; property: EmbeddedPropertyModel; /** * The channel codes the service is sold through. When no channels are defined, the service is sold only in a package */ channelCodes?: Array; /** * The id of the age category associated with this service. */ ageCategoryId?: string; } export declare namespace ServiceModel { type PricingUnitEnum = 'Room' | 'Person'; const PricingUnitEnumValues: readonly PricingUnitEnum[]; type ChannelCodesEnum = 'Direct' | 'BookingCom' | 'Ibe' | 'ChannelManager' | 'Expedia' | 'Homelike' | 'Hrs' | 'AltoVita' | 'DesVu'; const ChannelCodesEnumValues: readonly ChannelCodesEnum[]; } export declare namespace ServiceModel { const $metaData: ClassMetaData; }