/* tslint:disable */ /* eslint-disable */ /** * loans/transactions * 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 { LoanTransactionDetailsInput } from './loan-transaction-details-input'; /** * Represents the request payload for creating a transaction of type PRINCIPAL_OVERPAYMENT */ export interface PrincipalOverpaymentLoanTransactionInput { /** * The amount of the repayment */ amount: number; /** * The booking date of the repayment (as Organization Time) */ bookingDate?: string; /** * The external id of the repayment transaction, customizable, unique */ externalId?: string; /** * Extra notes about the repayment transaction. Notes can have at most 255 characters in length. */ notes?: string; /** * The currency code for the repayment transaction */ originalCurrencyCode?: string; /** * The prepayment recalculation method types. */ prepaymentRecalculationMethod?: PrincipalOverpaymentLoanTransactionInputPrepaymentRecalculationMethodEnum; transactionDetails?: LoanTransactionDetailsInput; /** * The entry date of the repayment (as Organization Time) */ valueDate?: string; } export const PrincipalOverpaymentLoanTransactionInputPrepaymentRecalculationMethodEnum = { NoRecalculation: 'NO_RECALCULATION', RescheduleRemainingRepayments: 'RESCHEDULE_REMAINING_REPAYMENTS', RecalculateScheduleKeepSameNumberOfTerms: 'RECALCULATE_SCHEDULE_KEEP_SAME_NUMBER_OF_TERMS', RecalculateScheduleKeepSamePrincipalAmount: 'RECALCULATE_SCHEDULE_KEEP_SAME_PRINCIPAL_AMOUNT', RecalculateScheduleKeepSameTotalRepaymentAmount: 'RECALCULATE_SCHEDULE_KEEP_SAME_TOTAL_REPAYMENT_AMOUNT', ReduceAmountPerInstallment: 'REDUCE_AMOUNT_PER_INSTALLMENT', ReduceNumberOfInstallments: 'REDUCE_NUMBER_OF_INSTALLMENTS', ReduceNumberOfInstallmentsNew: 'REDUCE_NUMBER_OF_INSTALLMENTS_NEW', } as const; export type PrincipalOverpaymentLoanTransactionInputPrepaymentRecalculationMethodEnum = (typeof PrincipalOverpaymentLoanTransactionInputPrepaymentRecalculationMethodEnum)[keyof typeof PrincipalOverpaymentLoanTransactionInputPrepaymentRecalculationMethodEnum];