/* tslint:disable */ /* eslint-disable */ /** * loanproducts * 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. */ // May contain unused imports in some cases // @ts-ignore import type { DecimalInterval } from './decimal-interval'; // May contain unused imports in some cases // @ts-ignore import type { IntegerIntervalConstraints } from './integer-interval-constraints'; /** * The product arrears settings, shows whether the non working days are taken in consideration or not when applying penalties/late fees or when setting an account into arrears */ export interface ProductArrearsSettings { /** * The arrears date calculation method. */ dateCalculationMethod?: ProductArrearsSettingsDateCalculationMethodEnum; /** * The encoded key of the arrears base settings, auto generated, unique. */ encodedKey?: string; /** * Defines the tolerance monthly date */ monthlyToleranceDay?: number; /** * Shows whether the non working days are taken in consideration or not when applying penaltees/late fees or when setting an account into arrears */ nonWorkingDaysMethod?: ProductArrearsSettingsNonWorkingDaysMethodEnum; /** * Defines the tolerance calculation method */ toleranceCalculationMethod?: ProductArrearsSettingsToleranceCalculationMethodEnum; /** * The tolerance floor amount. */ toleranceFloorAmount?: number; tolerancePercentageOfOutstandingPrincipal?: DecimalInterval; tolerancePeriod?: IntegerIntervalConstraints; } export const ProductArrearsSettingsDateCalculationMethodEnum = { AccountFirstWentToArrears: 'ACCOUNT_FIRST_WENT_TO_ARREARS', LastLateRepayment: 'LAST_LATE_REPAYMENT', AccountFirstBreachedMaterialityThreshold: 'ACCOUNT_FIRST_BREACHED_MATERIALITY_THRESHOLD', } as const; export type ProductArrearsSettingsDateCalculationMethodEnum = (typeof ProductArrearsSettingsDateCalculationMethodEnum)[keyof typeof ProductArrearsSettingsDateCalculationMethodEnum]; export const ProductArrearsSettingsNonWorkingDaysMethodEnum = { Included: 'INCLUDED', Excluded: 'EXCLUDED', } as const; export type ProductArrearsSettingsNonWorkingDaysMethodEnum = (typeof ProductArrearsSettingsNonWorkingDaysMethodEnum)[keyof typeof ProductArrearsSettingsNonWorkingDaysMethodEnum]; export const ProductArrearsSettingsToleranceCalculationMethodEnum = { ArrearsTolerancePeriod: 'ARREARS_TOLERANCE_PERIOD', MonthlyArrearsToleranceDay: 'MONTHLY_ARREARS_TOLERANCE_DAY', } as const; export type ProductArrearsSettingsToleranceCalculationMethodEnum = (typeof ProductArrearsSettingsToleranceCalculationMethodEnum)[keyof typeof ProductArrearsSettingsToleranceCalculationMethodEnum];