/* tslint:disable */ /* eslint-disable */ /** * loans * 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. */ /** * The penalty settings, holds all the fields regarding penalties */ export interface PenaltySettings { /** * The last penalty calculation method, represents on what amount are the penalties calculated. */ loanPenaltyCalculationMethod?: PenaltySettingsLoanPenaltyCalculationMethodEnum; /** * The penalty rate, represents the rate (in percent) which is charged as a penalty. */ penaltyRate?: number; } export const PenaltySettingsLoanPenaltyCalculationMethodEnum = { None: 'NONE', OverdueBalance: 'OVERDUE_BALANCE', OverdueBalanceAndInterest: 'OVERDUE_BALANCE_AND_INTEREST', OverdueBalanceInterestAndFee: 'OVERDUE_BALANCE_INTEREST_AND_FEE', OutstandingPrincipal: 'OUTSTANDING_PRINCIPAL', } as const; export type PenaltySettingsLoanPenaltyCalculationMethodEnum = (typeof PenaltySettingsLoanPenaltyCalculationMethodEnum)[keyof typeof PenaltySettingsLoanPenaltyCalculationMethodEnum];