/* 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. */ // May contain unused imports in some cases // @ts-ignore import type { LoanProductDecimalConstraintsConfiguration } from './loan-product-decimal-constraints-configuration'; /** * Defines the penalty settings for the product that will be used by the loan accounts based on this product */ export interface PenaltyConfiguration { /** * The loan penalty calculation method types */ loanPenaltyCalculationMethod: PenaltyConfigurationLoanPenaltyCalculationMethodEnum; /** * Number of days to wait before applying the loan penalty amounts */ loanPenaltyGracePeriod?: number; penaltyRate?: LoanProductDecimalConstraintsConfiguration; } export const PenaltyConfigurationLoanPenaltyCalculationMethodEnum = { None: 'NONE', OverdueBalance: 'OVERDUE_BALANCE', OverdueBalanceAndInterest: 'OVERDUE_BALANCE_AND_INTEREST', OverdueBalanceInterestAndFee: 'OVERDUE_BALANCE_INTEREST_AND_FEE', MambuFunctionOverduePrincipal: 'MAMBU_FUNCTION_OVERDUE_PRINCIPAL', OutstandingPrincipal: 'OUTSTANDING_PRINCIPAL', } as const; export type PenaltyConfigurationLoanPenaltyCalculationMethodEnum = (typeof PenaltyConfigurationLoanPenaltyCalculationMethodEnum)[keyof typeof PenaltyConfigurationLoanPenaltyCalculationMethodEnum];