Options
All
  • Public
  • Public/Protected
  • All
Menu

Class RiskService

Hierarchy

  • RiskService

Index

Constructors

constructor

Methods

completeManually

create

delete

get

getAccountSnapshot

getEvents

  • getEvents(transactionId: string, perPage?: number, page?: number): Promise<EventsList>
  • Get all events for a xs2a.risk transaction object

    Parameters

    • transactionId: string

      ID of the transaction for which all events are to be retrieved for.

    • Default value perPage: number = 15

      Items per page

    • Default value page: number = 1

      which page to return

    Returns Promise<EventsList>

getFullPDF

  • getFullPDF(transactionId: string): Promise<any>
  • XS2A.risk.fullpdf is a wonderful way to show you all the checks in one pdf. Only the risk-cheks will be shown in this pdf, which were selected in the transaction (WizardSession). So if xs2a_account_snapshot and xs2a_name_check has been selected, only this information of this checks, can be found in the fullpdf.

    Parameters

    • transactionId: string

      id of the transaction to generate a full pdf for

    Returns Promise<any>

getReport

  • Get a specific report by transaction-id and report-id

    Parameters

    • transactionId: string

      id of the transaction to get a report for

    • Default value reportId: string = ""
    • Default value format: ReportFormat = ReportFormat.JSON
    • Default value locale: ReportLocale = ReportLocale.EN

    Returns Promise<any>

list

Generated using TypeDoc