Header menu logo FSharp.Finance.Personal

Fee Module

a product fee > NOTE: differences between fees and charges: > - fees are up-front amounts paid under agreed terms for receiving an advance > - fees are added to the principal balance and therefore accrue interest

Types and nested modules

Type/Module Description

Config (Module)

options specifying the types of fees, their amounts, and any restrictions on these

Config (Type)

options specifying the types of fees, their amounts, and any restrictions on these

FeeAmortisation

how to amortise fees

FeeHandling

how to handle fees when rescheduling or rolling over

FeeType

the type and amount of any fees, such as facilitation fees or CSO/CAB fees, taking into account any constraints

SettlementRefund

how the fees are treated in the event of an early settlement

Functions and values

Function or value Description

grandTotal feeConfig baseValue customFeeTypes

Full Usage: grandTotal feeConfig baseValue customFeeTypes

Parameters:
Returns: int64<MeasureProduct<Cent, MeasureOne>>

calculates the total sum of all fees based on either default or custom fee types

feeConfig : Config
baseValue : int64<MeasureProduct<Cent, MeasureOne>>
customFeeTypes : FeeType array voption
Returns: int64<MeasureProduct<Cent, MeasureOne>>

round config

Full Usage: round config

Parameters:
Returns: decimal<MeasureProduct<Cent, MeasureOne>> -> int64<MeasureProduct<Cent, MeasureOne>>

rounds a charge to the nearest integer cent using the specified rounding option

config : Config
Returns: decimal<MeasureProduct<Cent, MeasureOne>> -> int64<MeasureProduct<Cent, MeasureOne>>

total feeConfig baseValue feeType

Full Usage: total feeConfig baseValue feeType

Parameters:
Returns: int64<MeasureProduct<Cent, MeasureOne>>

calculates the total amount of fees based on the fee configuration

feeConfig : Config
baseValue : int64<MeasureProduct<Cent, MeasureOne>>
feeType : FeeType
Returns: int64<MeasureProduct<Cent, MeasureOne>>

Type something to start searching.