CashFlowPayment constructor

CashFlowPayment({
  1. required DateTime postDate,
  2. double value = 0.0,
  3. bool isKnown = true,
  4. double weighting = 1.0,
  5. String label = '',
  6. double interest = 0.0,
  7. bool isInterestCapitalised = true,
  8. DayCountFactor? periodFactor,
})

Implementation

CashFlowPayment({
  required DateTime postDate,
  double value = 0.0,
  bool isKnown = true,
  double weighting = 1.0,
  String label = '',
  this.interest = 0.0,
  this.isInterestCapitalised = true,
  DayCountFactor? periodFactor,
}) : super(
        postDate: postDate,
        valueDate: postDate,
        value: value,
        isKnown: isKnown,
        weighting: weighting,
        label: label,
        periodFactor: periodFactor,
      );