LoanTransaction constructor

LoanTransaction({
  1. String? loanAccountId,
  2. String? loanServicerId,
  3. String? paymentDate,
  4. num? paymentAmount,
  5. num? appliedPrincipal,
  6. num? appliedInterest,
  7. num? appliedFees,
  8. String? paymentType,
  9. List<PaymentDetails>? paymentDetails,
  10. bool? isInternalTxn,
  11. String? status,
  12. String? loanServicerName,
})

Implementation

LoanTransaction(
    {String? loanAccountId,
    String? loanServicerId,
    String? paymentDate,
    num? paymentAmount,
    num? appliedPrincipal,
    num? appliedInterest,
    num? appliedFees,
    String? paymentType,
    List<PaymentDetails>? paymentDetails,
    bool? isInternalTxn,
    String? status,
    String? loanServicerName}) {
  _loanAccountId = loanAccountId;
  _loanServicerId = loanServicerId;
  _paymentDate = paymentDate;
  _paymentAmount = paymentAmount;
  _appliedPrincipal = appliedPrincipal;
  _appliedInterest = appliedInterest;
  _appliedFees = appliedFees;
  _paymentType = paymentType;
  _paymentDetails = paymentDetails;
  _isInternalTxn = isInternalTxn;
  _status = status;
  _loanServicerName = loanServicerName;
}