/* 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. */ /** * Contains the details about an investor fund including fields like encoded key, guarantor type, amount and guarantor key */ export interface InvestorFund { /** * The amount used by the client for the guaranty */ amount: number; /** * The name of a value the client guarantees with (populated when the guaranty type is ASSET) */ assetName?: string; /** * The key of the deposit account used by the guarantor (populated when the guaranty type is GUARANTOR). It can be null. */ depositAccountKey?: string; /** * The encoded key of the entity, generated, globally unique */ encodedKey?: string; /** * The key of the client/group used as the guarantor. */ guarantorKey: string; /** * Indicated the account holder type. */ guarantorType: InvestorFundGuarantorTypeEnum; /** * Investor fund unique identifier. All versions of an investor fund will have same id. */ id?: string; /** * The constraint minimum value */ interestCommission?: number; /** * Percentage of loan shares this investor owns */ sharePercentage?: number; } export const InvestorFundGuarantorTypeEnum = { Client: 'CLIENT', Group: 'GROUP', } as const; export type InvestorFundGuarantorTypeEnum = (typeof InvestorFundGuarantorTypeEnum)[keyof typeof InvestorFundGuarantorTypeEnum];