method/export

Requires

Methods

(inner) pdfExport(borrower, loan, loanSchedules) → {string}

Source:

Export the contract pdf to Firebase storage

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.

Returns:

URL to the saved contract.

Type
string