mirror of
https://github.com/davidhalter/typeshed.git
synced 2026-05-04 12:35:49 +08:00
[qrbill] Update to 1.2.* (#14987)
This commit is contained in:
@@ -1,3 +1,3 @@
|
||||
version = "1.1.*"
|
||||
version = "1.2.*"
|
||||
upstream_repository = "https://github.com/claudep/swiss-qr-bill"
|
||||
requires = ["types-qrcode"]
|
||||
|
||||
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user