/* tslint:disable */ /* eslint-disable */ /** * loans * 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 principal payment account settings, holds the required information for the principal payment process of an account. */ export interface PrincipalPaymentAccountSettings { /** * Fixed amount for being used for the repayments principal due. */ amount?: number; /** * The encoded key of the principal payment base settings, auto generated, unique. */ encodedKey?: string; /** * Boolean flag, if true, the fees will be included along with the principal in the repayment floor amount, for a revolving credit account */ includeFeesInFloorAmount?: boolean; /** * Boolean flag, if true, the interest will be included along with the principal in the repayment floor amount, for a revolving credit account */ includeInterestInFloorAmount?: boolean; /** * Percentage of principal amount used for the repayments principal due. */ percentage?: number; /** * 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 (for revolving credits) */ principalPaymentMethod?: PrincipalPaymentAccountSettingsPrincipalPaymentMethodEnum; /** * The minimum total due amount a repayment made with this settings can have */ totalDueAmountFloor?: number; /** * The principal payment method (for revolving credits) */ totalDuePayment?: PrincipalPaymentAccountSettingsTotalDuePaymentEnum; } export const PrincipalPaymentAccountSettingsPrincipalPaymentMethodEnum = { 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 PrincipalPaymentAccountSettingsPrincipalPaymentMethodEnum = (typeof PrincipalPaymentAccountSettingsPrincipalPaymentMethodEnum)[keyof typeof PrincipalPaymentAccountSettingsPrincipalPaymentMethodEnum]; export const PrincipalPaymentAccountSettingsTotalDuePaymentEnum = { 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 PrincipalPaymentAccountSettingsTotalDuePaymentEnum = (typeof PrincipalPaymentAccountSettingsTotalDuePaymentEnum)[keyof typeof PrincipalPaymentAccountSettingsTotalDuePaymentEnum];