/* tslint:disable */ /* eslint-disable */ /** * loanproducts * 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 { DecimalConstraints } from './decimal-constraints'; /** * The funding settings, holds the settings regarding the funding for the loan product. */ export interface FundingSettings { /** * Indicates whether the product has the investor funds enabled or not. */ enabled?: boolean; funderInterestCommission?: DecimalConstraints; /** * Define how the Interest is allocated to the investors(if the investors can define their own percentages for their own contribution to the loan, or if all of them are using the same percentage). */ funderInterestCommissionAllocationType?: FundingSettingsFunderInterestCommissionAllocationTypeEnum; /** * Shows whether investor funds are locked or not at the loan account\'s approval. */ lockFundsAtApproval?: boolean; organizationInterestCommission?: DecimalConstraints; /** * The required investor funds percentage, for opening an account with external funding. If null, the investor funds are not enabled. */ requiredFunds?: number; } export const FundingSettingsFunderInterestCommissionAllocationTypeEnum = { PercentageOfLoanFunding: 'PERCENTAGE_OF_LOAN_FUNDING', FixedInterestCommissions: 'FIXED_INTEREST_COMMISSIONS', } as const; export type FundingSettingsFunderInterestCommissionAllocationTypeEnum = (typeof FundingSettingsFunderInterestCommissionAllocationTypeEnum)[keyof typeof FundingSettingsFunderInterestCommissionAllocationTypeEnum];