/* 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. */ // May contain unused imports in some cases // @ts-ignore import type { DisbursementDetailsForSchedulePreview } from './disbursement-details-for-schedule-preview'; // May contain unused imports in some cases // @ts-ignore import type { FeesSettingsForSchedulePreview } from './fees-settings-for-schedule-preview'; // May contain unused imports in some cases // @ts-ignore import type { InterestSettingsForSchedulePreview } from './interest-settings-for-schedule-preview'; // May contain unused imports in some cases // @ts-ignore import type { LoanTranche } from './loan-tranche'; // May contain unused imports in some cases // @ts-ignore import type { PlannedInstallmentFee } from './planned-installment-fee'; // May contain unused imports in some cases // @ts-ignore import type { ScheduleSettingsForSchedulePreview } from './schedule-settings-for-schedule-preview'; /** * Payload structure to preview loan account schedule. */ export interface PreviewLoanAccountSchedule { disbursementDetails?: DisbursementDetailsForSchedulePreview; feeRateSettings?: FeesSettingsForSchedulePreview; /** * The value of the interest booked by the organization from the accounts funded by investors. Null if the funds are not enable */ interestCommission?: number; interestSettings?: InterestSettingsForSchedulePreview; /** * The loan amount */ loanAmount: number; /** * A list with planned manual fees to be applied on the installments for schedule preview. */ plannedInstallmentFees?: Array; /** * The key to the type of product that this account is based on. */ productTypeKey: string; scheduleSettings?: ScheduleSettingsForSchedulePreview; /** * The top up amount in case of a refinanced account */ topUpAmount?: number; /** * List of tranches to be considered for schedule preview. */ tranches?: Array; }