Options
All
  • Public
  • Public/Protected
  • All
Menu

Class Client

An abstract class for communicating with a fints server. For a common implementation look at PinTanClient.

Hierarchy

Index

Methods

accounts

  • Fetch a list of all SEPA accounts accessible by the user.

    Returns Promise<SEPAAccount[]>

    An array of all SEPA accounts.

balance

  • Fetch the balance for a SEPA account.

    Parameters

    • account: SEPAAccount

      The SEPA account to fetch the balance for.

    Returns Promise<Balance>

    The balance of the given SEPA account.

completeStatements

  • completeStatements(savedDialog: DialogConfig, transactionReference: string, tan: string): Promise<Statement[]>
  • Fetch a list of bank statements deserialized from the MT940 transmitted by the fints server.

    Parameters

    • savedDialog: DialogConfig
    • transactionReference: string
    • tan: string

    Returns Promise<Statement[]>

    A list of all statements in the specified range.

Protected Abstract createDialog

  • Create a new dialog.

    Parameters

    Returns Dialog

Protected Abstract createRequest

  • Create a request.

    Parameters

    Returns Request

Private sendStatementRequest

  • Parameters

    Returns Promise<Statement[]>

standingOrders

  • Fetch a list of standing orders for the given account.

    Parameters

    • account: SEPAAccount

      The account to fetch standing orders for.

    Returns Promise<StandingOrder[]>

    A list of all standing orders for the given account.

statements

  • Fetch a list of bank statements deserialized from the MT940 transmitted by the fints server.

    Parameters

    • account: SEPAAccount
    • Optional startDate: Date

      The start of the range for which the statements should be fetched.

    • Optional endDate: Date

      The end of the range for which the statements should be fetched.

    Returns Promise<Statement[]>

    A list of all statements in the specified range.

Generated using TypeDoc