/* 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 { DepositGLAccountingRule } from './deposit-glaccounting-rule'; /** * The response representation of the PredefinedFee. Represents a fee with a defined name and a fixed value. */ export interface DepositProductPredefinedFee { /** * A list of accounting rules defined for this fee. If null, product default rules are selected. */ accountingRules?: Array; /** * The amount of the fee */ amount?: number; /** * External function */ amountCalculationFunctionName?: string; /** * The amount from which the fee is calculated using percentageAmount */ amountCalculationMethod?: DepositProductPredefinedFeeAmountCalculationMethodEnum; /** * Shows when a fee should be applied; to be used with monthly deposit fees */ applyDateMethod?: DepositProductPredefinedFeeApplyDateMethodEnum; /** * Shows the creation date of the fee */ creationDate?: string; /** * The encoded key of the predefined fee, auto generated, unique */ encodedKey?: string; /** * The type of fee application when disbursement is applied */ feeApplication: DepositProductPredefinedFeeFeeApplicationEnum; /** * The id of the fee */ id?: string; /** * Shows the last modified date of the fee */ lastModifiedDate?: string; /** * The name of the fee */ name?: string; /** * Indicates the state of the fee */ state: DepositProductPredefinedFeeStateEnum; /** * Shows the event that will trigger a fee */ trigger: DepositProductPredefinedFeeTriggerEnum; } export const DepositProductPredefinedFeeAmountCalculationMethodEnum = { Flat: 'FLAT', MambuFunction: 'MAMBU_FUNCTION', } as const; export type DepositProductPredefinedFeeAmountCalculationMethodEnum = (typeof DepositProductPredefinedFeeAmountCalculationMethodEnum)[keyof typeof DepositProductPredefinedFeeAmountCalculationMethodEnum]; export const DepositProductPredefinedFeeApplyDateMethodEnum = { MonthlyFromActivation: 'MONTHLY_FROM_ACTIVATION', FirstOfEveryMonth: 'FIRST_OF_EVERY_MONTH', } as const; export type DepositProductPredefinedFeeApplyDateMethodEnum = (typeof DepositProductPredefinedFeeApplyDateMethodEnum)[keyof typeof DepositProductPredefinedFeeApplyDateMethodEnum]; export const DepositProductPredefinedFeeFeeApplicationEnum = { Required: 'REQUIRED', Optional: 'OPTIONAL', } as const; export type DepositProductPredefinedFeeFeeApplicationEnum = (typeof DepositProductPredefinedFeeFeeApplicationEnum)[keyof typeof DepositProductPredefinedFeeFeeApplicationEnum]; export const DepositProductPredefinedFeeStateEnum = { Active: 'ACTIVE', Inactive: 'INACTIVE', } as const; export type DepositProductPredefinedFeeStateEnum = (typeof DepositProductPredefinedFeeStateEnum)[keyof typeof DepositProductPredefinedFeeStateEnum]; export const DepositProductPredefinedFeeTriggerEnum = { Manual: 'MANUAL', MonthlyFee: 'MONTHLY_FEE', Arbitrary: 'ARBITRARY', } as const; export type DepositProductPredefinedFeeTriggerEnum = (typeof DepositProductPredefinedFeeTriggerEnum)[keyof typeof DepositProductPredefinedFeeTriggerEnum];