call(action, args)
This method calls one of the available DigitalLendingPostIntakeRecordsWrapper actions and passes arguments to the action.
public Object call(String action, Map<String, Object> args)
- action
Type: String
Action to call. Valid values are:
getApplicantDetails— Accepts anapplicationFormProductIdproperty and retrieves applicant details of all the applicants associated to the application form.getApplicantProfile— Accepts anapplicationFormProductIdproperty and retrieves applicant profile information of all the applicants associated to the application form.getOffersForApplicant— Accepts anapplicationFormProductIdproperty and retrieves offer details.getSellerItem—Accepts anapplicationFormProductIdproperty and retrieves seller item information.saveOfferForApplicant— Accepts anapplicationFormProductIdproperty and an offer ID to create a new offer. The new offer is set to final and selected by the lender, with the rest of the offer details matching the offer passed as an argument. Returns asuccessboolean variable.callGetLoanDocumentsApi—Accepts anapplicationFormProductIdproperty and retrieves loan documents related to it.callCreateOfferApi— Accepts anapplicationFormProductIdproperty, term, amount, and rate, and creates a new offer. Returns a boolean value indicating if the operation was successful.canUserEditReadOnlyRecords—Returns a boolean value indicating whether the current user has permission to edit read-only records (true) or not (false).
- args
Type: Map<String, Object>
First three keys must be input, output, and options. The required keys under input depend on the method the action invokes. All actions require input, output, and options arguments, but these can be empty if the action doesn’t use them.
-
getApplicantDetails
- recordId — The
applicationFormProductIdargument of the action that’s called.
- recordId — The
-
getApplicantProfile
- recordId — The
applicationFormProductIdargument of the action that’s called.
- recordId — The
-
getOffersForApplicant
- recordId — The
applicationFormProductIdargument of the action that’s called.
- recordId — The
-
getSellerItem
- recordId — The
applicationFormProductIdargument of the action that’s called.
- recordId — The
-
saveOfferForApplicant
- recordId — The
applicationFormProductIdargument of the action that’s called. - offerId — The
applicationFormProductProposalIdargument of the action that’s called.
- recordId — The
-
callGetLoanDocumentsApi
- recordId — The
applicationFormProductIdargument of the action that’s called.
- recordId — The
-
callCreateOfferApi
- recordId — The
applicationFormProductIdargument of the action that’s called. - term — The loan term argument of the action that’s called.
- recommendedAmount — The loan amount argument of the action that’s called.
- rate — The loan interest rate argument of the action that’s called.
- recordId — The
-
getApplicantDetails
Type: Map<String, Object>
Returns values of the corresponding action as described in the Parameters section above.
To use this method in an integration procedure, specify the class in the Remote Class property, the action in the Remote Method property, and the arguments in the Additional Input property.