User Tools

Site Tools


library_functions

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
library_functions [2016/12/10 23:43]
geelling
library_functions [2023/04/27 11:44] (current)
andrewbreese
Line 19: Line 19:
   * Return values: Calculated   * Return values: Calculated
   * Required input library fields: loan_amount,​loan_term,​loan_monthly_interest   * Required input library fields: loan_amount,​loan_term,​loan_monthly_interest
 +  * Required output library fields: repayment_amount,​total_repayable,​interest_amount,​loan_apr,​repayment_amount,​loan_interest_amount
 +  * Optional library fields: api_focus_system_interest (required if using FOCUS API),​loan_new_amount,​loan_current_balance
 +  * Other behaviour: sets loan_repayment_amount,​loan_total_repayable,​loan_interest_amount,​loan_months,​loan_apr,​loan_monthly_interest,​short_loan_apr,​loan_repayment_amount
 +
 +CALL=calculate_repayments_reverse
 +  * Summary: Calculates repayment values for the credit agreement to allow repayment amount to be set. CALL=calculate_repayments required before use
 +  * Trigger value: Reverese Calculate
 +  * Return values: Calculated
 +  * Required input library fields: loan_amount,​loan_term,​loan_monthly_interest,​repayment_amount
   * Required output library fields: repayment_amount,​total_repayable,​interest_amount,​loan_apr,​repayment_amount,​loan_interest_amount   * Required output library fields: repayment_amount,​total_repayable,​interest_amount,​loan_apr,​repayment_amount,​loan_interest_amount
   * Optional library fields: api_focus_system_interest (required if using FOCUS API),​loan_new_amount,​loan_current_balance   * Optional library fields: api_focus_system_interest (required if using FOCUS API),​loan_new_amount,​loan_current_balance
Line 75: Line 84:
   * Required library fields: person_last_name,​person_title,​ person_first_names,​ person_dob, address_postcode,​ person_bank_account_no,​ person_bank_sort_code   * Required library fields: person_last_name,​person_title,​ person_first_names,​ person_dob, address_postcode,​ person_bank_account_no,​ person_bank_sort_code
   * Other behaviour: sets cb_raw_result[PDS],​cb_html_result[PDS]   * Other behaviour: sets cb_raw_result[PDS],​cb_html_result[PDS]
 +
 +CALL=id_bank_check
 +  * Summary: As for bank_check, but returns both cv_action and cb_action (requires CallValidate API)
 +  * Trigger value: Ready
 +  * Return values: Pass, Decline, Refer
 +  * Required library fields: person_last_name,​person_title,​ person_first_names,​ person_dob, address_postcode,​ person_bank_account_no,​ person_bank_sort_code
 +  * Other behaviour: sets cb_raw_result[PDS],​cb_html_result[PDS],​sets cv_raw_result[PDS],​cv_html_result[PDS]
  
 CALL=bank_check_refer CALL=bank_check_refer
Line 100: Line 116:
   * Required library fields: as defined in function call   * Required library fields: as defined in function call
   * Optional library fields: update_lookup_match (set to Ready on Pass)   * Optional library fields: update_lookup_match (set to Ready on Pass)
 +
 +CALL=lookup_nomatch (from v5.1)
 +  * Identical to lookup_match,​ but returns Pass when NO match is found and Fail is a match is found
 +  * Optional library fields: update_lookup_nomatch (set to Ready on Pass)
  
 CALL=check_pdf CALL=check_pdf
library_functions.1481409801.txt.gz ยท Last modified: 2017/02/20 16:49 (external edit)