/* 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 { BillingCycleDays } from './billing-cycle-days'; // May contain unused imports in some cases // @ts-ignore import type { PeriodicPayment } from './periodic-payment'; // May contain unused imports in some cases // @ts-ignore import type { RevolvingAccountSettings } from './revolving-account-settings'; /** * The schedule settings, allowed on the loan account restructure */ export interface RestructureScheduleSettings { /** * The PMT is calculated as the loan would have [amortizationPeriod] installments. */ amortizationPeriod?: number; billingCycleDays?: BillingCycleDays; /** * The days of the month, when the repayment due dates should be */ fixedDaysOfMonth?: Array; /** * The grace period */ gracePeriod?: number; /** * A list of periodic payments for the current loan account. */ paymentPlan?: Array; /** * The periodic payment */ periodicPayment?: number; previewSchedule?: RevolvingAccountSettings; /** * The number of installments */ repaymentInstallments?: number; /** * The payments frequency per set period of time */ repaymentPeriodCount?: number; /** * The frequency of the loan repayment. */ repaymentPeriodUnit?: RestructureScheduleSettingsRepaymentPeriodUnitEnum; } export const RestructureScheduleSettingsRepaymentPeriodUnitEnum = { Days: 'DAYS', Weeks: 'WEEKS', Months: 'MONTHS', Years: 'YEARS', } as const; export type RestructureScheduleSettingsRepaymentPeriodUnitEnum = (typeof RestructureScheduleSettingsRepaymentPeriodUnitEnum)[keyof typeof RestructureScheduleSettingsRepaymentPeriodUnitEnum];