/* 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. */ /** * Defines the prepayment settings for the product */ export interface ProductPrepaymentSettings { /** * The apply interest method type for pre-payments. */ applyInterestOnPrepaymentMethod?: ProductPrepaymentSettingsApplyInterestOnPrepaymentMethodEnum; /** * The elements recalculation method types */ elementsRecalculationMethod?: ProductPrepaymentSettingsElementsRecalculationMethodEnum; /** * ERC free allowance in percentage */ ercFreeAllowance?: number; /** * Shows whether the future payments are allowed or not for this product (repayment transactions with entry date set in the future) */ futurePaymentsAcceptance: ProductPrepaymentSettingsFuturePaymentsAcceptanceEnum; /** * Shows whether the pre-payments are allowed or not for this product. */ prepaymentAcceptance?: ProductPrepaymentSettingsPrepaymentAcceptanceEnum; /** * The prepayment recalculation method types. */ prepaymentRecalculationMethod?: ProductPrepaymentSettingsPrepaymentRecalculationMethodEnum; /** * The status of installment after the principal was paid off as part of an over-payment. */ principalPaidInstallmentStatus?: ProductPrepaymentSettingsPrincipalPaidInstallmentStatusEnum; } export const ProductPrepaymentSettingsApplyInterestOnPrepaymentMethodEnum = { Automatic: 'AUTOMATIC', Manual: 'MANUAL', } as const; export type ProductPrepaymentSettingsApplyInterestOnPrepaymentMethodEnum = (typeof ProductPrepaymentSettingsApplyInterestOnPrepaymentMethodEnum)[keyof typeof ProductPrepaymentSettingsApplyInterestOnPrepaymentMethodEnum]; export const ProductPrepaymentSettingsElementsRecalculationMethodEnum = { PrincipalExpectedFixed: 'PRINCIPAL_EXPECTED_FIXED', TotalExpectedFixed: 'TOTAL_EXPECTED_FIXED', } as const; export type ProductPrepaymentSettingsElementsRecalculationMethodEnum = (typeof ProductPrepaymentSettingsElementsRecalculationMethodEnum)[keyof typeof ProductPrepaymentSettingsElementsRecalculationMethodEnum]; export const ProductPrepaymentSettingsFuturePaymentsAcceptanceEnum = { NoFuturePayments: 'NO_FUTURE_PAYMENTS', AcceptFuturePayments: 'ACCEPT_FUTURE_PAYMENTS', AcceptOverpayments: 'ACCEPT_OVERPAYMENTS', } as const; export type ProductPrepaymentSettingsFuturePaymentsAcceptanceEnum = (typeof ProductPrepaymentSettingsFuturePaymentsAcceptanceEnum)[keyof typeof ProductPrepaymentSettingsFuturePaymentsAcceptanceEnum]; export const ProductPrepaymentSettingsPrepaymentAcceptanceEnum = { AcceptPrepayments: 'ACCEPT_PREPAYMENTS', NoPrepayments: 'NO_PREPAYMENTS', } as const; export type ProductPrepaymentSettingsPrepaymentAcceptanceEnum = (typeof ProductPrepaymentSettingsPrepaymentAcceptanceEnum)[keyof typeof ProductPrepaymentSettingsPrepaymentAcceptanceEnum]; export const ProductPrepaymentSettingsPrepaymentRecalculationMethodEnum = { 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 ProductPrepaymentSettingsPrepaymentRecalculationMethodEnum = (typeof ProductPrepaymentSettingsPrepaymentRecalculationMethodEnum)[keyof typeof ProductPrepaymentSettingsPrepaymentRecalculationMethodEnum]; export const ProductPrepaymentSettingsPrincipalPaidInstallmentStatusEnum = { PartiallyPaid: 'PARTIALLY_PAID', Paid: 'PAID', OriginalTotalExpectedPaid: 'ORIGINAL_TOTAL_EXPECTED_PAID', } as const; export type ProductPrepaymentSettingsPrincipalPaidInstallmentStatusEnum = (typeof ProductPrepaymentSettingsPrincipalPaidInstallmentStatusEnum)[keyof typeof ProductPrepaymentSettingsPrincipalPaidInstallmentStatusEnum];