/* 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. */ /** * An amount of predefined fee that was applied or paid on an account. */ export interface Fee { /** * The amount of the fee that was applied/paid in the transaction for the given predefined fee. */ amount?: number; /** * The name of the predefined fee */ name?: string; /** * The encoded key of the predefined fee, auto generated, unique */ predefinedFeeKey: string; /** * The amount of the taxes on fee that was applied/paid in the transaction. */ taxAmount?: number; /** * Shows the event that will trigger a fee */ trigger?: FeeTriggerEnum; } export const FeeTriggerEnum = { Manual: 'MANUAL', ManualPlanned: 'MANUAL_PLANNED', Disbursement: 'DISBURSEMENT', CapitalizedDisbursement: 'CAPITALIZED_DISBURSEMENT', UpfrontDisbursement: 'UPFRONT_DISBURSEMENT', LateRepayment: 'LATE_REPAYMENT', PaymentDue: 'PAYMENT_DUE', PaymentDueAppliedOnDueDates: 'PAYMENT_DUE_APPLIED_ON_DUE_DATES', Arbitrary: 'ARBITRARY', Iof: 'IOF', EarlyRepaymentCharge: 'EARLY_REPAYMENT_CHARGE', FeeIncludedInPmt: 'FEE_INCLUDED_IN_PMT', } as const; export type FeeTriggerEnum = (typeof FeeTriggerEnum)[keyof typeof FeeTriggerEnum];