/* 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. */ /** * The prepayment settings, holds all prepayment properties. */ export interface PrepaymentConfiguration { /** * The apply interest method type for pre-payments. */ applyInterestOnPrepaymentMethod?: PrepaymentConfigurationApplyInterestOnPrepaymentMethodEnum; /** * The elements recalculation method types */ elementsRecalculationMethod?: PrepaymentConfigurationElementsRecalculationMethodEnum; /** * ERC free allowance in percentage */ ercFreeAllowance?: number; /** * Future payments allowance types. */ futurePaymentsAcceptance: PrepaymentConfigurationFuturePaymentsAcceptanceEnum; /** * Pre-payment acceptance types. */ prepaymentAcceptance?: PrepaymentConfigurationPrepaymentAcceptanceEnum; /** * The prepayment recalculation method types. */ prepaymentRecalculationMethod?: PrepaymentConfigurationPrepaymentRecalculationMethodEnum; /** * The status of installment after the principal was paid off as part of an over-payment. */ principalPaidInstallmentStatus?: PrepaymentConfigurationPrincipalPaidInstallmentStatusEnum; } export const PrepaymentConfigurationApplyInterestOnPrepaymentMethodEnum = { Automatic: 'AUTOMATIC', Manual: 'MANUAL', } as const; export type PrepaymentConfigurationApplyInterestOnPrepaymentMethodEnum = (typeof PrepaymentConfigurationApplyInterestOnPrepaymentMethodEnum)[keyof typeof PrepaymentConfigurationApplyInterestOnPrepaymentMethodEnum]; export const PrepaymentConfigurationElementsRecalculationMethodEnum = { PrincipalExpectedFixed: 'PRINCIPAL_EXPECTED_FIXED', TotalExpectedFixed: 'TOTAL_EXPECTED_FIXED', } as const; export type PrepaymentConfigurationElementsRecalculationMethodEnum = (typeof PrepaymentConfigurationElementsRecalculationMethodEnum)[keyof typeof PrepaymentConfigurationElementsRecalculationMethodEnum]; export const PrepaymentConfigurationFuturePaymentsAcceptanceEnum = { NoFuturePayments: 'NO_FUTURE_PAYMENTS', AcceptFuturePayments: 'ACCEPT_FUTURE_PAYMENTS', AcceptOverpayments: 'ACCEPT_OVERPAYMENTS', } as const; export type PrepaymentConfigurationFuturePaymentsAcceptanceEnum = (typeof PrepaymentConfigurationFuturePaymentsAcceptanceEnum)[keyof typeof PrepaymentConfigurationFuturePaymentsAcceptanceEnum]; export const PrepaymentConfigurationPrepaymentAcceptanceEnum = { AcceptPrepayments: 'ACCEPT_PREPAYMENTS', NoPrepayments: 'NO_PREPAYMENTS', } as const; export type PrepaymentConfigurationPrepaymentAcceptanceEnum = (typeof PrepaymentConfigurationPrepaymentAcceptanceEnum)[keyof typeof PrepaymentConfigurationPrepaymentAcceptanceEnum]; export const PrepaymentConfigurationPrepaymentRecalculationMethodEnum = { NoRecalculation: 'NO_RECALCULATION', RescheduleRemainingRepayments: 'RESCHEDULE_REMAINING_REPAYMENTS', RecalculateScheduleKeepSameNumberOfTerms: 'RECALCULATE_SCHEDULE_KEEP_SAME_NUMBER_OF_TERMS', RecalculateScheduleKeepSamePrincipalAmount: 'RECALCULATE_SCHEDULE_KEEP_SAME_PRINCIPAL_AMOUNT', RecalculateScheduleKeepSameTotalRepaymentAmount: 'RECALCULATE_SCHEDULE_KEEP_SAME_TOTAL_REPAYMENT_AMOUNT', ReduceAmountPerInstallment: 'REDUCE_AMOUNT_PER_INSTALLMENT', ReduceNumberOfInstallments: 'REDUCE_NUMBER_OF_INSTALLMENTS', ReduceNumberOfInstallmentsNew: 'REDUCE_NUMBER_OF_INSTALLMENTS_NEW', } as const; export type PrepaymentConfigurationPrepaymentRecalculationMethodEnum = (typeof PrepaymentConfigurationPrepaymentRecalculationMethodEnum)[keyof typeof PrepaymentConfigurationPrepaymentRecalculationMethodEnum]; export const PrepaymentConfigurationPrincipalPaidInstallmentStatusEnum = { PartiallyPaid: 'PARTIALLY_PAID', Paid: 'PAID', OriginalTotalExpectedPaid: 'ORIGINAL_TOTAL_EXPECTED_PAID', } as const; export type PrepaymentConfigurationPrincipalPaidInstallmentStatusEnum = (typeof PrepaymentConfigurationPrincipalPaidInstallmentStatusEnum)[keyof typeof PrepaymentConfigurationPrincipalPaidInstallmentStatusEnum];