/* 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 { PrepaymentConfiguration } from './prepayment-configuration'; // May contain unused imports in some cases // @ts-ignore import type { PrincipalPaymentConfiguration } from './principal-payment-configuration'; /** * Model representation of the payment settings configuration */ export interface PaymentConfiguration { /** * Payments Method used by loan accounts for repayments schedule generation. */ amortizationMethod?: PaymentConfigurationAmortizationMethodEnum; /** * The late payment recalculation method. Is used by loan accounts to have the schedule recalculated when late payments are posted on accounts. */ latePaymentsRecalculationMethod?: PaymentConfigurationLatePaymentsRecalculationMethodEnum; /** * The payment allocation method used by the loans defining how the payments get performed. */ paymentMethod?: PaymentConfigurationPaymentMethodEnum; prepaymentSettings?: PrepaymentConfiguration; principalPaymentSettings?: PrincipalPaymentConfiguration; /** * A list of basic repayment allocation elements such as the principal, interest & fees. */ repaymentAllocationOrder?: Array; } export const PaymentConfigurationAmortizationMethodEnum = { StandardPayments: 'STANDARD_PAYMENTS', BalloonPayments: 'BALLOON_PAYMENTS', OptimizedPayments: 'OPTIMIZED_PAYMENTS', PaymentPlan: 'PAYMENT_PLAN', } as const; export type PaymentConfigurationAmortizationMethodEnum = (typeof PaymentConfigurationAmortizationMethodEnum)[keyof typeof PaymentConfigurationAmortizationMethodEnum]; export const PaymentConfigurationLatePaymentsRecalculationMethodEnum = { OverdueInstallmentsIncrease: 'OVERDUE_INSTALLMENTS_INCREASE', LastInstallmentIncrease: 'LAST_INSTALLMENT_INCREASE', NoRecalculation: 'NO_RECALCULATION', } as const; export type PaymentConfigurationLatePaymentsRecalculationMethodEnum = (typeof PaymentConfigurationLatePaymentsRecalculationMethodEnum)[keyof typeof PaymentConfigurationLatePaymentsRecalculationMethodEnum]; export const PaymentConfigurationPaymentMethodEnum = { Horizontal: 'HORIZONTAL', Vertical: 'VERTICAL', } as const; export type PaymentConfigurationPaymentMethodEnum = (typeof PaymentConfigurationPaymentMethodEnum)[keyof typeof PaymentConfigurationPaymentMethodEnum]; export const PaymentConfigurationRepaymentAllocationOrderEnum = { Principal: 'PRINCIPAL', Interest: 'INTEREST', Fee: 'FEE', Penalty: 'PENALTY', } as const; export type PaymentConfigurationRepaymentAllocationOrderEnum = (typeof PaymentConfigurationRepaymentAllocationOrderEnum)[keyof typeof PaymentConfigurationRepaymentAllocationOrderEnum];