/* tslint:disable */ /* eslint-disable */ /** * configuration/loanproducts.yaml * 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 LockConfiguration { /** * Specifies constraint types for capping charges. */ cappingConstraintType?: LockConfigurationCappingConstraintTypeEnum; /** * Specifies how principal will be used when calculating capping charges. */ cappingMethod?: LockConfigurationCappingMethodEnum; /** * 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 LockConfigurationCappingConstraintTypeEnum = { SoftCap: 'SOFT_CAP', HardCap: 'HARD_CAP', } as const; export type LockConfigurationCappingConstraintTypeEnum = (typeof LockConfigurationCappingConstraintTypeEnum)[keyof typeof LockConfigurationCappingConstraintTypeEnum]; export const LockConfigurationCappingMethodEnum = { OutstandingPrincipalPercentage: 'OUTSTANDING_PRINCIPAL_PERCENTAGE', OriginalPrincipalPercentage: 'ORIGINAL_PRINCIPAL_PERCENTAGE', } as const; export type LockConfigurationCappingMethodEnum = (typeof LockConfigurationCappingMethodEnum)[keyof typeof LockConfigurationCappingMethodEnum];