Header menu logo FSharp.Finance.Personal

AppliedPayment Module

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

Types

Type Description

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 asOfDay settlementDay chargeConfig paymentTimeout actualPayments scheduledPayments

Full Usage: applyPayments asOfDay 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

asOfDay : int<MeasureProduct<OffsetDay, MeasureOne>>
settlementDay : SettlementDay voption
chargeConfig : Config
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.