Header menu logo FSharp.Finance.Personal

AppliedPayment Module

functions for handling received payments and calculating interest and/or charges where necessary

Types

Type Description

AppliedCharge

a charge applied to an actual payment

AppliedPayment

an actual payment made on a particular day, optionally with charges applied, with the net effect and payment status calculated

Functions and values

Function or value Description

applyPayments evaluationDay startDate settlementDay chargeConfig paymentTimeout actualPayments scheduledPayments

Full Usage: applyPayments evaluationDay startDate settlementDay chargeConfig paymentTimeout actualPayments scheduledPayments

Parameters:
Returns: Map<int<MeasureProduct<OffsetDay, MeasureOne>>, AppliedPayment>

groups payments by day, applying actual payments, adding a payment status and optionally a late payment charge if underpaid

evaluationDay : int<MeasureProduct<OffsetDay, MeasureOne>>
startDate : Date
settlementDay : SettlementDay
chargeConfig : Config option
paymentTimeout : int<MeasureProduct<DurationDay, MeasureOne>>
actualPayments : Map<int<MeasureProduct<OffsetDay, MeasureOne>>, ActualPayment array>
scheduledPayments : Map<int<MeasureProduct<OffsetDay, MeasureOne>>, ScheduledPayment>
Returns: Map<int<MeasureProduct<OffsetDay, MeasureOne>>, AppliedPayment>

Type something to start searching.