-
Notifications
You must be signed in to change notification settings - Fork 82
/
Copy pathdepot.py
40 lines (27 loc) · 1.9 KB
/
depot.py
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
from fints.fields import DataElementField, DataElementGroupField
from fints.formals import Account2, Account3
from .base import FinTS3Segment
class HKWPD5(FinTS3Segment):
"""Depotaufstellung anfordern, version 5
Source: HBCI Homebanking-Computer-Interface, Schnittstellenspezifikation"""
account = DataElementGroupField(type=Account2, _d="Depot")
currency = DataElementField(type='cur', required=False, _d="Währung der Depotaufstellung")
quality = DataElementField(type='num', length=1, required=False, _d="Kursqualität")
max_number_responses = DataElementField(type='num', max_length=4, required=False, _d="Maximale Anzahl Einträge")
touchdown_point = DataElementField(type='an', max_length=35, required=False, _d="Aufsetzpunkt")
class HIWPD5(FinTS3Segment):
"""Depotaufstellung rückmelden, version 5
Source: HBCI Homebanking-Computer-Interface, Schnittstellenspezifikation"""
holdings = DataElementField(type='bin', _d="Depotaufstellung")
class HKWPD6(FinTS3Segment):
"""Depotaufstellung anfordern, version 6
Source: FinTS Financial Transaction Services, Schnittstellenspezifikation, Messages -- Multibankfähige Geschäftsvorfälle """
account = DataElementGroupField(type=Account3, _d="Depot")
currency = DataElementField(type='cur', required=False, _d="Währung der Depotaufstellung")
quality = DataElementField(type='code', length=1, required=False, _d="Kursqualität")
max_number_responses = DataElementField(type='num', max_length=4, required=False, _d="Maximale Anzahl Einträge")
touchdown_point = DataElementField(type='an', max_length=35, required=False, _d="Aufsetzpunkt")
class HIWPD6(FinTS3Segment):
"""Depotaufstellung rückmelden, version 6
Source: FinTS Financial Transaction Services, Schnittstellenspezifikation, Messages -- Multibankfähige Geschäftsvorfälle """
holdings = DataElementField(type='bin', _d="Depotaufstellung")