From e0590fe343503bea87750ac55ad79a93ff374983 Mon Sep 17 00:00:00 2001 From: Andreas Ellewsen <andreas@ellewsen.no> Date: Thu, 2 Nov 2023 12:38:14 +0100 Subject: [PATCH] Include ubw_final_number --- setra_client/models.py | 1 + tests/fixtures/order_list_fixture.json | 3 +++ 2 files changed, 4 insertions(+) diff --git a/setra_client/models.py b/setra_client/models.py index 0c81e0b..adc4db8 100644 --- a/setra_client/models.py +++ b/setra_client/models.py @@ -273,6 +273,7 @@ class Order(BaseModel): header_text: Optional[str] footer_text: Optional[str] details: Optional[List[Detail]] + ubw_final_number: Optional[str] class AbwOrder(BaseModel): diff --git a/tests/fixtures/order_list_fixture.json b/tests/fixtures/order_list_fixture.json index f24eb22..2ba13b0 100644 --- a/tests/fixtures/order_list_fixture.json +++ b/tests/fixtures/order_list_fixture.json @@ -17,6 +17,7 @@ "text4": "txt4", "header_text": "headertext", "footer_text": "footertext", + "ubw_final_number": "123", "details": [] }, { @@ -57,6 +58,7 @@ "text4": "txt4", "header_text": "headertext", "footer_text": "footertext", + "ubw_final_number": "125", "details": [] }, { @@ -77,6 +79,7 @@ "text4": "txt444", "header_text": "headertext", "footer_text": "footertext", + "ubw_final_number": null, "details": [] } ] -- GitLab