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 |
Functions and values
Function or value | Description |
Full Usage:
grandTotal feeConfig baseValue customFeeTypes
Parameters:
Config
baseValue : int64<MeasureProduct<Cent, MeasureOne>>
customFeeTypes : FeeType array voption
Returns: int64<MeasureProduct<Cent, MeasureOne>>
|
|
Full Usage:
round config
Parameters:
Config
Returns: decimal<MeasureProduct<Cent, MeasureOne>> -> int64<MeasureProduct<Cent, MeasureOne>>
|
|
Full Usage:
total feeConfig baseValue feeType
Parameters:
Config
baseValue : int64<MeasureProduct<Cent, MeasureOne>>
feeType : FeeType
Returns: int64<MeasureProduct<Cent, MeasureOne>>
|
|