/** * 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 { ClassMetaData } from '@apaleo/angular-api-proxy-common'; export interface CreatePricingRuleModel { /** * The id of the rate plan that will be used as base when calculating the rates. The derivation level of the rate plan used as base rate plan cannot be greater than 2 */ baseRatePlanId: string; /** * The type used to control the calculation of the difference to the rates of the defined base rate plan */ type: CreatePricingRuleModel.TypeEnum; /** * The value used to control the calculation of the difference to the rates of the defined base rate plan. It can be a positive and a negative value. The system will prevent you to define a value that would lead to negative rates */ value: number; } export declare namespace CreatePricingRuleModel { type TypeEnum = 'Absolute' | 'Percent'; const TypeEnumValues: readonly TypeEnum[]; } export declare namespace CreatePricingRuleModel { const $metaData: ClassMetaData; }