Options
All
  • Public
  • Public/Protected
  • All
Menu

Class ForecastApi

ForecastApi - object-oriented interface

export
class

ForecastApi

extends

{BaseAPI}

Hierarchy

Index

Constructors

constructor

  • new ForecastApi(configuration?: Configuration, basePath?: string, fetch?: FetchAPI): ForecastApi

Methods

getForecast

  • getForecast(accessId: string, accountId: string, options?: any): Promise<Forecast>
  • The current month is determined by the most recent refresh.

    summary

    Get balance forecast

    throws

    {RequiredError}

    memberof

    ForecastApi

    Parameters

    • accessId: string

      The accessId for which to retrieve forecasts

    • accountId: string

      The accountId for which to retrieve forecasts

    • Optional options: any

    Returns Promise<Forecast>

getForecastTransactions

  • getForecastTransactions(accessId: string, accountId: string, options?: any): Promise<ForecastTransaction>
  • The current month is determined by the most recent refresh of transactions. The request also retrieves the transactions expected to be applied until the end of the current month.

    summary

    Get forecast transactions

    throws

    {RequiredError}

    memberof

    ForecastApi

    Parameters

    • accessId: string

      The accessId for the forecast

    • accountId: string

      The id for the account

    • Optional options: any

    Returns Promise<ForecastTransaction>