/** * 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 { ServiceItemAccountingConfigModel } from './serviceItemAccountingConfigModel'; import { ClassMetaData } from '@apaleo/angular-api-proxy-common'; export interface ServiceItemModel { /** * Id */ id: string; /** * Name */ name: string; /** * The code for the service */ code: string; /** * Description */ description: string; defaultGrossPrice: MonetaryValueModel; /** * Defines per which unit (flat, room, person) this item is offered and priced */ pricingUnit?: ServiceItemModel.PricingUnitEnum; /** * Whether the service is delivered and posted on the same business date as the accommodation, or on the next day. */ postNextDay: boolean; /** * The service type, used by accounting to determine the correct revenue account - DEPRECATED: ServiceType is deprecated, use AccountingConfig instead */ serviceType?: ServiceItemModel.ServiceTypeEnum; /** * The vat type, used by accounting to determine the correct vat amount and account - DEPRECATED: VatType is deprecated, use AccountingConfig instead */ vatType?: ServiceItemModel.VatTypeEnum; availability: AvailabilityModel; property: EmbeddedPropertyModel; /** * ID of the custom sub-account, used by accounting to determine the correct revenue account - DEPRECATED: SubAccountId is deprecated, use AccountingConfig instead */ subAccountId?: string; accountingConfig?: ServiceItemAccountingConfigModel; /** * The channel codes the service is sold through */ channelCodes?: Array; /** * The id of the age category associated with this service. */ ageCategoryId?: string; } export declare namespace ServiceItemModel { type PricingUnitEnum = 'Room' | 'Person'; const PricingUnitEnumValues: readonly PricingUnitEnum[]; type ServiceTypeEnum = 'Other' | 'Accommodation' | 'FoodAndBeverages'; const ServiceTypeEnumValues: readonly ServiceTypeEnum[]; type VatTypeEnum = 'Null' | 'VeryReduced' | 'Reduced' | 'Normal' | 'Without' | 'Special' | 'ReducedCovid19' | 'NormalCovid19' | 'Mixed'; const VatTypeEnumValues: readonly VatTypeEnum[]; type ChannelCodesEnum = 'Direct' | 'BookingCom' | 'Ibe' | 'ChannelManager' | 'Expedia' | 'Homelike' | 'Hrs' | 'AltoVita' | 'DesVu'; const ChannelCodesEnumValues: readonly ChannelCodesEnum[]; } export declare namespace ServiceItemModel { const $metaData: ClassMetaData; }