ExDecisionLogic.Requests (exdecisionlogic v0.1.1)

Requests module which holds interface for getting data from Decision Logic

Link to this section Summary

Functions

Create Decision Logic request

Search for banks by content service id

Create a call to GetReportDetailFromRequestCode8

The endpoint returns notification of error using a "is_error" => "string of true | false" To send that properfly formatted down the wire we use this approach to pattern match against the result

Search for banks by name

Search for banks by routing_number

Create a call to DLMatch_NAS to verify a users identity

Link to this section Types

Link to this type

soap_result()

Specs

soap_result() :: {:ok, map()} | {:error, term()} | {:error, atom()}

Link to this section Functions

Link to this function

create_request(params, wsdl)

Specs

create_request(ExDecisionLogic.RequestFormats.CreateRequest.t(), map()) ::
  soap_result()

Create Decision Logic request

Link to this function

get_bank_by_content_service_id(params, wsdl)

Specs

get_bank_by_content_service_id(
  ExDecisionLogic.RequestFormats.GetBankByContentServiceID.t(),
  map()
) :: soap_result()

Search for banks by content service id

Link to this function

get_report_by_request_code(params, wsdl)

Specs

get_report_by_request_code(
  ExDecisionLogic.RequestFormats.GetReportByRequestCode.t(),
  map()
) :: soap_result()

Create a call to GetReportDetailFromRequestCode8

Link to this function

get_user(get_user, map)

Specs

get_user(ExDecisionLogic.RequestFormats.GetUser.t(), map()) :: soap_result()
Link to this function

handle_response_by_error_flag(response)

The endpoint returns notification of error using a "is_error" => "string of true | false" To send that properfly formatted down the wire we use this approach to pattern match against the result

Link to this function

search_banks_by_country(params, wsdl, opts \\ [])

Specs

search_banks_by_country(
  ExDecisionLogic.RequestFormats.SearchBanksByCountry.t(),
  map(),
  Keyword.t()
) :: soap_result()

Search for banks by country

Link to this function

search_banks_by_name(params, wsdl)

Specs

search_banks_by_name(
  ExDecisionLogic.RequestFormats.SearchBanksByName.t(),
  map()
) :: soap_result()

Search for banks by name

Link to this function

search_banks_by_routing_number(params, wsdl)

Specs

search_banks_by_routing_number(
  ExDecisionLogic.RequestFormats.SearchBanksByRoutingNumber.t(),
  map()
) :: soap_result()

Search for banks by routing_number

Link to this function

verify_identity(params, wsdl)

Specs

verify_identity(ExDecisionLogic.RequestFormats.DLMatchRequest.t(), map()) ::
  soap_result()

Create a call to DLMatch_NAS to verify a users identity