/* tslint:disable */ /* eslint-disable */ /** * depositproducts * 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 { DepositProductOverdraftInterestRateSettings } from './deposit-product-overdraft-interest-rate-settings'; /** * Overdraft settings for the product */ export interface OverdraftInterestSettings { /** * How many days in a year should be used for interest calculations */ daysInYear?: OverdraftInterestSettingsDaysInYearEnum; /** * The balance which is used for the overdraft interest calculation. Default value is MINIMUM. If set to null on a PUT call and the product allows overdrafts, the null value is ignored and not changed. */ interestCalculationBalance?: OverdraftInterestSettingsInterestCalculationBalanceEnum; interestRateSettings?: DepositProductOverdraftInterestRateSettings; } export const OverdraftInterestSettingsDaysInYearEnum = { Actual365Fixed: 'ACTUAL_365_FIXED', Actual360: 'ACTUAL_360', ActualActualIsda: 'ACTUAL_ACTUAL_ISDA', E30360: 'E30_360', E3042365: 'E30_42_365', Bus252: 'BUS_252', } as const; export type OverdraftInterestSettingsDaysInYearEnum = (typeof OverdraftInterestSettingsDaysInYearEnum)[keyof typeof OverdraftInterestSettingsDaysInYearEnum]; export const OverdraftInterestSettingsInterestCalculationBalanceEnum = { Minimum: 'MINIMUM', Average: 'AVERAGE', EndOfDay: 'END_OF_DAY', MinimumToEndOfDay: 'MINIMUM_TO_END_OF_DAY', FrenchInterestAccrual: 'FRENCH_INTEREST_ACCRUAL', } as const; export type OverdraftInterestSettingsInterestCalculationBalanceEnum = (typeof OverdraftInterestSettingsInterestCalculationBalanceEnum)[keyof typeof OverdraftInterestSettingsInterestCalculationBalanceEnum];