[qrbill] Update to 1.2.* (#14987)

This commit is contained in:
Semyon Moroz
2025-11-07 12:10:00 +04:00
committed by GitHub
parent 94f2380ac7
commit 8bed33f9c2
2 changed files with 11 additions and 1 deletions
+1 -1
View File
@@ -1,3 +1,3 @@
version = "1.1.*"
version = "1.2.*"
upstream_repository = "https://github.com/claudep/swiss-qr-bill"
requires = ["types-qrcode"]
+10
View File
@@ -94,7 +94,14 @@ class QRBill:
creditor: CombinedAddress | StructuredAddress
final_creditor: CombinedAddress | StructuredAddress | None
debtor: CombinedAddress | StructuredAddress | None
ref_type: str
reference_number: str | None
account: str
account_is_qriban: bool
amount: str | None
currency: Literal["CHF", "EUR"]
additional_information: str
billing_information: str
@overload
def __init__(
self,
@@ -108,6 +115,7 @@ class QRBill:
reference_number: str | None = None,
extra_infos: Literal[""] = "",
additional_information: str = "",
billing_information: str = "",
alt_procs: list[str] | tuple[()] | tuple[str] | tuple[str, str] = (),
language: Literal["en", "de", "fr", "it"] = "en",
top_line: bool = True,
@@ -129,6 +137,7 @@ class QRBill:
reference_number: None = None,
extra_infos: str = "",
additional_information: str = "",
billing_information: str = "",
alt_procs: list[str] | tuple[()] | tuple[str] | tuple[str, str] = (),
language: Literal["en", "de", "fr", "it"] = "en",
top_line: bool = True,
@@ -150,6 +159,7 @@ class QRBill:
*,
extra_infos: str,
additional_information: str = "",
billing_information: str = "",
alt_procs: list[str] | tuple[()] | tuple[str] | tuple[str, str] = (),
language: Literal["en", "de", "fr", "it"] = "en",
top_line: bool = True,