-
Notifications
You must be signed in to change notification settings - Fork 5
Expand file tree
/
Copy pathzahlungsinformation.py
More file actions
45 lines (33 loc) · 1.35 KB
/
zahlungsinformation.py
File metadata and controls
45 lines (33 loc) · 1.35 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
"""
Contains Zahlungsinformation class
"""
from decimal import Decimal
from typing import TYPE_CHECKING, Annotated, Literal, Optional
from pydantic import Field
from ..enum.comtyp import ComTyp
from ..utils import postprocess_docstring
from .com import COM
if TYPE_CHECKING:
from ..enum.zahlungsart import Zahlungsart
@postprocess_docstring
class Zahlungsinformation(COM):
"""
Mit dieser Komponente kann eine einzelne Zahlungsinformation dargestellt werden.
.. raw:: html
<object data="../_static/images/bo4e/com/Zahlungsinformation.svg" type="image/svg+xml"></object>
.. HINT::
`Zahlungsinformation JSON Schema <https://json-schema.app/view/%23?url=https://raw.githubusercontent.com/BO4E/BO4E-Schemas/{__gh_version__}/src/bo4e_schemas/com/Zahlungsinformation.json>`_
"""
typ: Annotated[Literal[ComTyp.ZAHLUNGSINFORMATION], Field(alias="_typ")] = ComTyp.ZAHLUNGSINFORMATION
zahlungsart: Optional["Zahlungsart"] = None
"""Die Zahlungsart dieser Zahlungsinformation"""
iban: Optional[str] = None
"""Eine IBAN-Nummer"""
bic: Optional[str] = None
"""Eine BIC-Nummer"""
kontoinhaber: Optional[str] = None
"""Der Name des Kontoinhabers"""
betreff: Optional[str] = None
"""Eine konstante Betreffzeile für Überweisungen"""
sepa_referenz: Optional[str] = None
"""Eine SEPA-Referenz"""