Skip to content

TransactionIterator

Extends

  • TransactionIterator

Methods

getAccount()

getAccount(): Account;

Returns

Account

The account, when filtering by a single account.

Inherited from

Bkper.TransactionIterator.getAccount

getBook()

getBook(): Book;

Gets the Book that originate the iterator

Returns

Book

Inherited from

Bkper.TransactionIterator.getBook

getContinuationToken()

getContinuationToken(): string;

Gets a token that can be used to resume this iteration at a later time.

This method is useful if processing an iterator in one execution would exceed the maximum execution time.

Continuation tokens are generally valid short period of time.

Returns

string

Inherited from

Bkper.TransactionIterator.getContinuationToken

hasNext()

hasNext(): boolean;

Determines whether calling next() will return a transaction.

Returns

boolean

Inherited from

Bkper.TransactionIterator.hasNext

next()

next(): Transaction;

Gets the next transaction in the collection of transactions.

Returns

Transaction

Inherited from

Bkper.TransactionIterator.next

setContinuationToken()

setContinuationToken(continuationToken): void;

Sets a continuation token from previous paused iteration

Parameters

ParameterType
continuationTokenstring

Returns

void

Inherited from

Bkper.TransactionIterator.setContinuationToken