Skip to content

Commit 8bed33f

Browse files
authored
[qrbill] Update to 1.2.* (#14987)
1 parent 94f2380 commit 8bed33f

File tree

2 files changed

+11
-1
lines changed

2 files changed

+11
-1
lines changed

stubs/qrbill/METADATA.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
1-
version = "1.1.*"
1+
version = "1.2.*"
22
upstream_repository = "https://github.com/claudep/swiss-qr-bill"
33
requires = ["types-qrcode"]

stubs/qrbill/qrbill/bill.pyi

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -94,7 +94,14 @@ class QRBill:
9494
creditor: CombinedAddress | StructuredAddress
9595
final_creditor: CombinedAddress | StructuredAddress | None
9696
debtor: CombinedAddress | StructuredAddress | None
97+
ref_type: str
9798
reference_number: str | None
99+
account: str
100+
account_is_qriban: bool
101+
amount: str | None
102+
currency: Literal["CHF", "EUR"]
103+
additional_information: str
104+
billing_information: str
98105
@overload
99106
def __init__(
100107
self,
@@ -108,6 +115,7 @@ class QRBill:
108115
reference_number: str | None = None,
109116
extra_infos: Literal[""] = "",
110117
additional_information: str = "",
118+
billing_information: str = "",
111119
alt_procs: list[str] | tuple[()] | tuple[str] | tuple[str, str] = (),
112120
language: Literal["en", "de", "fr", "it"] = "en",
113121
top_line: bool = True,
@@ -129,6 +137,7 @@ class QRBill:
129137
reference_number: None = None,
130138
extra_infos: str = "",
131139
additional_information: str = "",
140+
billing_information: str = "",
132141
alt_procs: list[str] | tuple[()] | tuple[str] | tuple[str, str] = (),
133142
language: Literal["en", "de", "fr", "it"] = "en",
134143
top_line: bool = True,
@@ -150,6 +159,7 @@ class QRBill:
150159
*,
151160
extra_infos: str,
152161
additional_information: str = "",
162+
billing_information: str = "",
153163
alt_procs: list[str] | tuple[()] | tuple[str] | tuple[str, str] = (),
154164
language: Literal["en", "de", "fr", "it"] = "en",
155165
top_line: bool = True,

0 commit comments

Comments
 (0)