/* 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 { GLAccountingRule } from './glaccounting-rule'; /** * Accounting settings, defines the accounting settings for the product. */ export interface AccountingSettings { /** * The calculation method used for accounting. */ accountingMethod: AccountingSettingsAccountingMethodEnum; /** * A list of accounting rules for the product. */ accountingRules?: Array; /** * The accounting interest calculation option selected for the product. */ interestAccrualCalculation?: AccountingSettingsInterestAccrualCalculationEnum; /** * The interval defined for a product when the interest accrues should be maintained. */ interestAccruedAccountingMethod?: AccountingSettingsInterestAccruedAccountingMethodEnum; } export const AccountingSettingsAccountingMethodEnum = { None: 'NONE', Cash: 'CASH', Accrual: 'ACCRUAL', } as const; export type AccountingSettingsAccountingMethodEnum = (typeof AccountingSettingsAccountingMethodEnum)[keyof typeof AccountingSettingsAccountingMethodEnum]; export const AccountingSettingsInterestAccrualCalculationEnum = { None: 'NONE', AggregatedAmount: 'AGGREGATED_AMOUNT', BreakdownPerAccount: 'BREAKDOWN_PER_ACCOUNT', } as const; export type AccountingSettingsInterestAccrualCalculationEnum = (typeof AccountingSettingsInterestAccrualCalculationEnum)[keyof typeof AccountingSettingsInterestAccrualCalculationEnum]; export const AccountingSettingsInterestAccruedAccountingMethodEnum = { None: 'NONE', Daily: 'DAILY', EndOfMonth: 'END_OF_MONTH', } as const; export type AccountingSettingsInterestAccruedAccountingMethodEnum = (typeof AccountingSettingsInterestAccruedAccountingMethodEnum)[keyof typeof AccountingSettingsInterestAccruedAccountingMethodEnum];