/* tslint:disable */ /* eslint-disable */ /** * installments * 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 { CarryForwardInterestSplit } from './carry-forward-interest-split'; // May contain unused imports in some cases // @ts-ignore import type { CustomSettingDetails } from './custom-setting-details'; // May contain unused imports in some cases // @ts-ignore import type { InstallmentAllocationElementAmount } from './installment-allocation-element-amount'; // May contain unused imports in some cases // @ts-ignore import type { InstallmentAllocationElementTaxableAmount } from './installment-allocation-element-taxable-amount'; // May contain unused imports in some cases // @ts-ignore import type { InstallmentFee } from './installment-fee'; // May contain unused imports in some cases // @ts-ignore import type { InstallmentFeeDetails } from './installment-fee-details'; /** * Represents a single installment details structure. */ export interface Installment { carryForwardInterestSplit?: CarryForwardInterestSplit; /** * Custom settings associated with the installment. */ customSettingDetails?: Array; /** * The installment due date. */ dueDate?: string; /** * The encoded key of the installment, which is auto generated, and unique. */ encodedKey?: string; /** * The expected closing balance is the remaining amount per installment only applicable for interest only equal installment products. */ expectedClosingBalance?: number; fee?: InstallmentFee; /** * The breakdown of the fee amounts that have been applied to the loan account. */ feeDetails?: Array; /** * The amount of interest allocated to funders for P2P accounts only. */ fundersInterestDue?: number; interest?: InstallmentAllocationElementTaxableAmount; /** * The interest accrued calculated on previous repayment closing balance only applicable interest only equal installment products. */ interestAccrued?: number; /** * `TRUE` if a payment holiday is offered for the installment, `FALSE` otherwise. */ isPaymentHoliday?: boolean; /** * The installment last paid date. */ lastPaidDate?: string; /** * The most recent date on which a penalty was applied to the account. */ lastPenaltyAppliedDate?: string; /** * The non-scheduled principal balance overpayment for the loan account */ nonScheduledPrincipalBalanceOverpayment?: number; /** * Any comment or notes added to the installment. */ notes?: string; /** * The order number of an installment among all the installments generated for a loan. Loan installments are put in ascending order by due date. The order number only applies to the content of a particular JSON response therefore it is not unique. */ number?: string; /** * The amount of interest allocated to organization as commission for P2P accounts only. */ organizationCommissionDue?: number; /** * The parent account key of the installment. */ parentAccountKey?: string; penalty?: InstallmentAllocationElementTaxableAmount; principal?: InstallmentAllocationElementAmount; /** * The installment repaid date. */ repaidDate?: string; /** * The installment state. */ state?: InstallmentStateEnum; } export const InstallmentStateEnum = { Pending: 'PENDING', Late: 'LATE', Paid: 'PAID', PartiallyPaid: 'PARTIALLY_PAID', Grace: 'GRACE', } as const; export type InstallmentStateEnum = (typeof InstallmentStateEnum)[keyof typeof InstallmentStateEnum];