method/generate

Methods

(inner) generate(borrower, loan, loanSchedules, isSigned) → {string}

Source:

Generate the contract for a loan

Parameters:
Name Type Description
borrower borrower

Borrower-related data from Loandisk.

loan loan

Loan-related data from Loandisk.

loanSchedules loanSchedules

Original loan schedule of the loan with only repayment and maturity.

isSigned boolean

Statue of whether the contract generated is signed.

Requires:
Returns:

HTML sting of the full contract

Type
string