/* 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. */ /** * Custom payment amount for a specific element type */ export interface CustomPaymentAmount { /** * The amount of the payment paid in the transaction for the given type. */ amount: number; /** * The type of the custom payment */ customPaymentAmountType: CustomPaymentAmountCustomPaymentAmountTypeEnum; /** * The encodedKey of the predefined fee to be paid. */ predefinedFeeKey?: string; /** * The amount of the taxes paid in the transaction for the given type. */ taxOnAmount?: number; } export const CustomPaymentAmountCustomPaymentAmountTypeEnum = { Principal: 'PRINCIPAL', Interest: 'INTEREST', ManualFee: 'MANUAL_FEE', UpfrontDisbursementFee: 'UPFRONT_DISBURSEMENT_FEE', LateRepaymentFee: 'LATE_REPAYMENT_FEE', PaymentDueFee: 'PAYMENT_DUE_FEE', Penalty: 'PENALTY', InterestFromArrears: 'INTEREST_FROM_ARREARS', NonScheduledFee: 'NON_SCHEDULED_FEE', InterestBearingFee: 'INTEREST_BEARING_FEE', InterestBearingFeeInterest: 'INTEREST_BEARING_FEE_INTEREST', CfPrincipalInArrears: 'CF_PRINCIPAL_IN_ARREARS', CfInterest: 'CF_INTEREST', CfInterestFromArrears: 'CF_INTEREST_FROM_ARREARS', FeeIncludedInPmt: 'FEE_INCLUDED_IN_PMT', } as const; export type CustomPaymentAmountCustomPaymentAmountTypeEnum = (typeof CustomPaymentAmountCustomPaymentAmountTypeEnum)[keyof typeof CustomPaymentAmountCustomPaymentAmountTypeEnum];