/* tslint:disable */ /* eslint-disable */ /** * configuration/loanproducts.yaml * 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. */ /** * Represents the settings for linking a deposit account. */ export interface AccountLinkConfiguration { /** * `TRUE` if the loan accounts created using this loan product can be linked to a deposit account, `FALSE` otherwise. */ enabled?: boolean; /** * If defined, loan accounts created for this loan product can only be linked to deposit accounts that use the deposit product with this ID. If null, the loan accounts for this loan product can be linked to any deposit account. */ linkableDepositProductId?: string; /** * A set of linked account options. */ linkedAccountOptions?: Set; /** * The type of of automated transfer that should be made from linked deposit accounts into loan accounts created from this loan product. */ settlementMethod?: AccountLinkConfigurationSettlementMethodEnum; } export const AccountLinkConfigurationLinkedAccountOptionsEnum = { AutoLinkAccounts: 'AUTO_LINK_ACCOUNTS', AutoCreateLinkedAccounts: 'AUTO_CREATE_LINKED_ACCOUNTS', } as const; export type AccountLinkConfigurationLinkedAccountOptionsEnum = (typeof AccountLinkConfigurationLinkedAccountOptionsEnum)[keyof typeof AccountLinkConfigurationLinkedAccountOptionsEnum]; export const AccountLinkConfigurationSettlementMethodEnum = { FullDueAmounts: 'FULL_DUE_AMOUNTS', PartialDueAmounts: 'PARTIAL_DUE_AMOUNTS', NoAutomatedTransfers: 'NO_AUTOMATED_TRANSFERS', } as const; export type AccountLinkConfigurationSettlementMethodEnum = (typeof AccountLinkConfigurationSettlementMethodEnum)[keyof typeof AccountLinkConfigurationSettlementMethodEnum];