---
title: "PaymentView – API-Referenz · Quittio"
description: "The payment instructions (BG-16)."
canonical_url: "https://quittio.dev/docs/api/Quittio/Core/View/Model/PaymentView"
locale: de
meta:
  "og:description": "The payment instructions (BG-16)."
  "og:image": "https://quittio.dev/og/quittio-de.jpg"
  "og:image:alt": "Quittio: E-Rechnungen für PHP und Laravel. Rechtssicher, validiert, archiviert, mit geprüfter Beispielrechnung."
  "og:image:height": "630"
  "og:image:type": image/jpeg
  "og:image:width": "1200"
  "og:title": "PaymentView – API-Referenz · Quittio"
  "twitter:image": "https://quittio.dev/og/quittio-de.jpg"
  "twitter:image:alt": "Quittio: E-Rechnungen für PHP und Laravel. Rechtssicher, validiert, archiviert, mit geprüfter Beispielrechnung."
---

> Index of every page on this site: [llms.txt](https://quittio.dev/llms.txt)

[API reference](https://quittio.dev/docs/api) / [Quittio](https://quittio.dev/docs/api/Quittio) \\ [Core](https://quittio.dev/docs/api/Quittio/Core) \\ [View](https://quittio.dev/docs/api/Quittio/Core/View) \\ [Model](https://quittio.dev/docs/api/Quittio/Core/View/Model)

# PaymentView

final class in quittio/core · extends [`ViewNode`](https://quittio.dev/docs/api/Quittio/Core/View/ViewNode)

`Quittio\Core\View\Model\PaymentView` · [Source](https://github.com/Quittio/quittio/blob/v0.7.1/packages/core/src/View/Model/PaymentView.php#L26)

The payment instructions (BG-16).

A typed, read-only node of the view model: object syntax and array syntax read the same value, and every read is recorded for the mandatory field guard (see ViewNode).

## Properties \#

| Property | Type | Description |
| --- | --- | --- |
| `$data` protected | `array<string\|int, mixed>` | from [`ViewNode`](https://quittio.dev/docs/api/Quittio/Core/View/ViewNode) |
| `$log` protected | `[AccessLog](https://quittio.dev/docs/api/Quittio/Core/View/AccessLog)` | from [`ViewNode`](https://quittio.dev/docs/api/Quittio/Core/View/ViewNode) |
| `$path` protected | `string` | from [`ViewNode`](https://quittio.dev/docs/api/Quittio/Core/View/ViewNode) |

## Methods \#

| Method | Description |
| --- | --- |
| `->__construct()` | |
| `->__get()` | |
| `->__isset()` | |
| `->count()` | |
| `->getIterator()` | Items are read (and recorded) one by one while the template loops over them. |
| `->isEmpty()` | |
| `->jsonSerialize()` | |
| `->offsetExists()` | |
| `->offsetGet()` | |
| `->offsetSet()` | |
| `->offsetUnset()` | |
| `->read()` | |
| `->toArray()` | Plain values, e.g. for implode(); counts as reading every value below this node. |

### `__construct()`#

```
public function __construct(
    array<string|int, mixed> $data,
    AccessLog $log,
    string $path = '',
)
```

inherited from [`ViewNode`](https://quittio.dev/docs/api/Quittio/Core/View/ViewNode)

| Parameter | Type | Description |
| --- | --- | --- |
| `$data` | `array<string\|int, mixed>` | |
| `$log` | `[AccessLog](https://quittio.dev/docs/api/Quittio/Core/View/AccessLog)` | |
| `$path` | `string` = `''` | |

### `__get()`#

```
public function __get(string $name): mixed
```

inherited from [`ViewNode`](https://quittio.dev/docs/api/Quittio/Core/View/ViewNode)

| Parameter | Type | Description |
| --- | --- | --- |
| `$name` | `string` | |

<dl><dt>Returns</dt>
<dd><code>mixed</code></dd>
</dl>

### `__isset()`#

```
public function __isset(string $name): bool
```

inherited from [`ViewNode`](https://quittio.dev/docs/api/Quittio/Core/View/ViewNode)

| Parameter | Type | Description |
| --- | --- | --- |
| `$name` | `string` | |

<dl><dt>Returns</dt>
<dd><code>bool</code></dd>
</dl>

### `count()`#

```
public function count(): int
```

inherited from [`ViewNode`](https://quittio.dev/docs/api/Quittio/Core/View/ViewNode)

<dl><dt>Returns</dt>
<dd><code>int</code></dd>
</dl>

### `getIterator()`#

```
public function getIterator(): Traversable
```

inherited from [`ViewNode`](https://quittio.dev/docs/api/Quittio/Core/View/ViewNode)

Items are read (and recorded) one by one while the template loops over them.

<dl><dt>Returns</dt>
<dd><code>Traversable</code></dd>
</dl>

### `isEmpty()`#

```
public function isEmpty(): bool
```

inherited from [`ViewNode`](https://quittio.dev/docs/api/Quittio/Core/View/ViewNode)

<dl><dt>Returns</dt>
<dd><code>bool</code></dd>
</dl>

### `jsonSerialize()`#

```
public function jsonSerialize(): mixed
```

inherited from [`ViewNode`](https://quittio.dev/docs/api/Quittio/Core/View/ViewNode)

<dl><dt>Returns</dt>
<dd><code>mixed</code></dd>
</dl>

### `offsetExists()`#

```
public function offsetExists(mixed $offset): bool
```

inherited from [`ViewNode`](https://quittio.dev/docs/api/Quittio/Core/View/ViewNode)

| Parameter | Type | Description |
| --- | --- | --- |
| `$offset` | `mixed` | |

<dl><dt>Returns</dt>
<dd><code>bool</code></dd>
</dl>

### `offsetGet()`#

```
public function offsetGet(mixed $offset): mixed
```

inherited from [`ViewNode`](https://quittio.dev/docs/api/Quittio/Core/View/ViewNode)

| Parameter | Type | Description |
| --- | --- | --- |
| `$offset` | `mixed` | |

<dl><dt>Returns</dt>
<dd><code>mixed</code></dd>
</dl>

### `offsetSet()`#

```
public function offsetSet(mixed $offset, mixed $value): void
```

inherited from [`ViewNode`](https://quittio.dev/docs/api/Quittio/Core/View/ViewNode)

| Parameter | Type | Description |
| --- | --- | --- |
| `$offset` | `mixed` | |
| `$value` | `mixed` | |

### `offsetUnset()`#

```
public function offsetUnset(mixed $offset): void
```

inherited from [`ViewNode`](https://quittio.dev/docs/api/Quittio/Core/View/ViewNode)

| Parameter | Type | Description |
| --- | --- | --- |
| `$offset` | `mixed` | |

### `read()`#

```
protected function read(string|int $key): mixed
```

protected inherited from [`ViewNode`](https://quittio.dev/docs/api/Quittio/Core/View/ViewNode)

| Parameter | Type | Description |
| --- | --- | --- |
| `$key` | `string\|int` | |

<dl><dt>Returns</dt>
<dd><code>mixed</code></dd>
</dl>

### `toArray()`#

```
public function toArray(): array<string|int, mixed>
```

inherited from [`ViewNode`](https://quittio.dev/docs/api/Quittio/Core/View/ViewNode)

Plain values, e.g. for implode(); counts as reading every value below this node.

<dl><dt>Returns</dt>
<dd><code>array&lt;string|int, mixed&gt;</code></dd>
</dl>

```json
{"@context":"https://schema.org","@graph":[{"@id":"https://quittio.dev/#website","@type":"WebSite","description":"E-Rechnungen für PHP und Laravel: ZUGFeRD, XRechnung und Peppol erstellen, prüfen, lesen und archivieren.","inLanguage":"de-DE","name":"Quittio","url":"https://quittio.dev/","publisher":{"@id":"https://quittio.dev/#identity"},"workTranslation":{"@id":"https://quittio.dev/en#website"}},{"@id":"https://quittio.dev/docs/api/Quittio/Core/View/Model/PaymentView#webpage","@type":"WebPage","description":"The payment instructions (BG-16).","name":"PaymentView – API-Referenz","url":"https://quittio.dev/docs/api/Quittio/Core/View/Model/PaymentView","isPartOf":{"@id":"https://quittio.dev/#website"},"potentialAction":[{"@type":"ReadAction","target":["https://quittio.dev/docs/api/Quittio/Core/View/Model/PaymentView"]}],"primaryImageOfPage":{"@id":"https://quittio.dev/#logo"}},{"@id":"https://quittio.dev/#identity","@type":"Organization","description":"Open-Source-Bibliothek für E-Rechnungen in PHP und Laravel (ZUGFeRD, XRechnung, Peppol) und Quittio Managed.","email":"kontakt@niklasforst.de","legalName":"Niklas Forst – Softwareentwicklung","name":"Quittio","url":"https://quittio.dev","founder":{"@type":"Person","name":"Niklas Forst","url":"https://quittio.dev/ueber"},"logo":{"@id":"https://quittio.dev/#logo"},"sameAs":["https://github.com/Quittio/quittio","https://packagist.org/packages/quittio/quittio"]},{"@id":"https://quittio.dev/#logo","@type":"ImageObject","caption":"Quittio","contentUrl":"https://quittio.dev/logo.png","inLanguage":"de-DE","url":"https://quittio.dev/logo.png"}]}
```