/* 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. */ /** * Settings applied when transitioning accounts to Locked state */ export interface LockSettings { /** * Specifies constraint types for capping charges. */ cappingConstraintType?: LockSettingsCappingConstraintTypeEnum; /** * Specifies how principal will be used when calculating capping charges. */ cappingMethod?: LockSettingsCappingMethodEnum; /** * Specifies the percentage of principal that cannot be exceeded by the sum of interest, fees and penalty balances. */ cappingPercentage?: number; /** * Specifies the number of days for in which the account will be locked if it stays in arrears. */ lockPeriodDays?: number; } export const LockSettingsCappingConstraintTypeEnum = { SoftCap: 'SOFT_CAP', HardCap: 'HARD_CAP', } as const; export type LockSettingsCappingConstraintTypeEnum = (typeof LockSettingsCappingConstraintTypeEnum)[keyof typeof LockSettingsCappingConstraintTypeEnum]; export const LockSettingsCappingMethodEnum = { OutstandingPrincipalPercentage: 'OUTSTANDING_PRINCIPAL_PERCENTAGE', OriginalPrincipalPercentage: 'ORIGINAL_PRINCIPAL_PERCENTAGE', } as const; export type LockSettingsCappingMethodEnum = (typeof LockSettingsCappingMethodEnum)[keyof typeof LockSettingsCappingMethodEnum];