/* 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 principal payment settings constraints for the loans that will be created based on this product. */ export interface PrincipalPaymentConfiguration { amount?: LoanProductDecimalConstraintsConfiguration; /** * How many repayments the principal has to be paid */ defaultPrincipalRepaymentInterval?: number; /** * If true, the interest will be included along with the principal in the repayment floor amount, for a revolving credit account */ includeFeesInFloorAmount?: boolean; percentage?: LoanProductDecimalConstraintsConfiguration; /** * The maximum principal due amount a repayment made with this settings can have */ principalCeilingValue?: number; /** * The minimum principal due amount a repayment made with this settings can have */ principalFloorValue?: number; /** * The principal payment method */ principalPaymentMethod?: PrincipalPaymentConfigurationPrincipalPaymentMethodEnum; /** * The minimum total due amount a repayment made with this settings can have */ totalDueAmountFloor?: number; /** * The principal payment method */ totalDuePayment?: PrincipalPaymentConfigurationTotalDuePaymentEnum; } export const PrincipalPaymentConfigurationPrincipalPaymentMethodEnum = { Flat: 'FLAT', OutstandingPrincipalPercentage: 'OUTSTANDING_PRINCIPAL_PERCENTAGE', PrincipalPercentageLastDisb: 'PRINCIPAL_PERCENTAGE_LAST_DISB', TotalBalancePercentage: 'TOTAL_BALANCE_PERCENTAGE', TotalBalanceFlat: 'TOTAL_BALANCE_FLAT', TotalPrincipalPercentage: 'TOTAL_PRINCIPAL_PERCENTAGE', } as const; export type PrincipalPaymentConfigurationPrincipalPaymentMethodEnum = (typeof PrincipalPaymentConfigurationPrincipalPaymentMethodEnum)[keyof typeof PrincipalPaymentConfigurationPrincipalPaymentMethodEnum]; export const PrincipalPaymentConfigurationTotalDuePaymentEnum = { Flat: 'FLAT', OutstandingPrincipalPercentage: 'OUTSTANDING_PRINCIPAL_PERCENTAGE', PrincipalPercentageLastDisb: 'PRINCIPAL_PERCENTAGE_LAST_DISB', TotalBalancePercentage: 'TOTAL_BALANCE_PERCENTAGE', TotalBalanceFlat: 'TOTAL_BALANCE_FLAT', TotalPrincipalPercentage: 'TOTAL_PRINCIPAL_PERCENTAGE', } as const; export type PrincipalPaymentConfigurationTotalDuePaymentEnum = (typeof PrincipalPaymentConfigurationTotalDuePaymentEnum)[keyof typeof PrincipalPaymentConfigurationTotalDuePaymentEnum];