Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion stubs/qrbill/METADATA.toml
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
version = "1.1.*"
version = "1.2.*"
upstream_repository = "https://github.com/claudep/swiss-qr-bill"
requires = ["types-qrcode"]
10 changes: 10 additions & 0 deletions stubs/qrbill/qrbill/bill.pyi
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand All @@ -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,
Expand All @@ -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,
Expand All @@ -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,
Expand Down