/* tslint:disable */ /* eslint-disable */ /** * loans * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) * * The version of the OpenAPI document: v2 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech * Do not edit the class manually. */ /** * Adjustable interest rates settings for loan account */ export interface AccountInterestRateSettings { /** * The encoded key of the interest rate settings, auto generated, unique */ encodedKey?: string; /** * Index rate source key. */ indexSourceKey?: string; /** * Interest rate value. */ interestRate?: number; /** * Maximum value allowed for index based interest rate. Valid only for index interest rate. */ interestRateCeilingValue?: number; /** * Minimum value allowed for index based interest rate. Valid only for index interest rate. */ interestRateFloorValue?: number; /** * Interest rate review frequency unit count. Valid only for index interest rate. */ interestRateReviewCount?: number; /** * The interest rate review unit values. Shows how often is index interest rate reviewed. */ interestRateReviewUnit?: AccountInterestRateSettingsInterestRateReviewUnitEnum; /** * The interest rate review unit values. Shows how often is index interest rate reviewed. */ interestRateSource: AccountInterestRateSettingsInterestRateSourceEnum; /** * Interest spread value. */ interestSpread?: number; /** * Date since an interest rate is valid */ validFrom: string; } export const AccountInterestRateSettingsInterestRateReviewUnitEnum = { Days: 'DAYS', Weeks: 'WEEKS', Months: 'MONTHS', } as const; export type AccountInterestRateSettingsInterestRateReviewUnitEnum = (typeof AccountInterestRateSettingsInterestRateReviewUnitEnum)[keyof typeof AccountInterestRateSettingsInterestRateReviewUnitEnum]; export const AccountInterestRateSettingsInterestRateSourceEnum = { FixedInterestRate: 'FIXED_INTEREST_RATE', IndexInterestRate: 'INDEX_INTEREST_RATE', } as const; export type AccountInterestRateSettingsInterestRateSourceEnum = (typeof AccountInterestRateSettingsInterestRateSourceEnum)[keyof typeof AccountInterestRateSettingsInterestRateSourceEnum];