/* 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. */ /** * Defines the settings for account linking. */ export interface AccountLinkSettings { /** * Shows whether the loan accounts created using this product can be linked to a savings account. */ enabled: boolean; /** * Loan accounts created for this product can only be linked the the savings accounts that use the savings product with this key. If null, the loan accounts for this product can be linked to any savings account. */ linkableDepositProductKey?: string; /** * A set of linked account options. */ linkedAccountOptions?: Set; /** * Set the option of automated transfer that should be made from linked deposit accounts into loan accounts create from this product. */ settlementMethod?: AccountLinkSettingsSettlementMethodEnum; } export const AccountLinkSettingsLinkedAccountOptionsEnum = { AutoLinkAccounts: 'AUTO_LINK_ACCOUNTS', AutoCreateLinkedAccounts: 'AUTO_CREATE_LINKED_ACCOUNTS', } as const; export type AccountLinkSettingsLinkedAccountOptionsEnum = (typeof AccountLinkSettingsLinkedAccountOptionsEnum)[keyof typeof AccountLinkSettingsLinkedAccountOptionsEnum]; export const AccountLinkSettingsSettlementMethodEnum = { FullDueAmounts: 'FULL_DUE_AMOUNTS', PartialDueAmounts: 'PARTIAL_DUE_AMOUNTS', NoAutomatedTransfers: 'NO_AUTOMATED_TRANSFERS', } as const; export type AccountLinkSettingsSettlementMethodEnum = (typeof AccountLinkSettingsSettlementMethodEnum)[keyof typeof AccountLinkSettingsSettlementMethodEnum];