# TransactionIterator

## Extends

- `TransactionIterator`

### getAccount()

```ts
getAccount(): Account;
```

#### Returns

`Account`

The account, when filtering by a single account.

#### Inherited from

```ts
Bkper.TransactionIterator.getAccount
```

***

### getBook()

```ts
getBook(): Book;
```

Gets the Book that originate the iterator

#### Returns

`Book`

#### Inherited from

```ts
Bkper.TransactionIterator.getBook
```

***

### getContinuationToken()

```ts
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

```ts
Bkper.TransactionIterator.getContinuationToken
```

***

### hasNext()

```ts
hasNext(): boolean;
```

Determines whether calling next() will return a transaction.

#### Returns

`boolean`

#### Inherited from

```ts
Bkper.TransactionIterator.hasNext
```

***

### next()

```ts
next(): Transaction;
```

Gets the next transaction in the collection of transactions.

#### Returns

`Transaction`

#### Inherited from

```ts
Bkper.TransactionIterator.next
```

***

### setContinuationToken()

```ts
setContinuationToken(continuationToken): void;
```

Sets a continuation token from previous paused iteration

#### Parameters

| Parameter | Type |
| :------ | :------ |
| `continuationToken` | `string` |

#### Returns

`void`

#### Inherited from

```ts
Bkper.TransactionIterator.setContinuationToken
```
