Charge Module
a penalty charge > NB: differences between charges and fees: > - charges are not up-front amounts, they are incurred as a result of a breach of agreed terms > - charges are not added to the principal balance and do not therefore accrue interest
Types and nested modules
Type/Module | Description |
Functions and values
Function or value | Description |
Full Usage:
grandTotal chargeConfig baseValue customChargeTypes
Parameters:
Config
baseValue : int64<MeasureProduct<Cent, MeasureOne>>
customChargeTypes : ChargeType 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 chargeConfig baseValue chargeType
Parameters:
Config
baseValue : int64<MeasureProduct<Cent, MeasureOne>>
chargeType : ChargeType
Returns: int64<MeasureProduct<Cent, MeasureOne>>
|
|