From a7a0682d18d04c60968e49e87244876d33a86fba Mon Sep 17 00:00:00 2001 From: Christoph Eder Date: Sun, 1 Mar 2026 18:14:05 +0100 Subject: [PATCH 1/2] Changes in enums.py Added DiscountType --- anansyTypes/enums.py | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/anansyTypes/enums.py b/anansyTypes/enums.py index 37bbc0f..88ab9dc 100644 --- a/anansyTypes/enums.py +++ b/anansyTypes/enums.py @@ -51,4 +51,8 @@ class SubscriptionType(Enum): class Currency(Enum): EUR = "EUR" USD = "USD" - NOK = "NOK" \ No newline at end of file + NOK = "NOK" + +class DiscountType(Enum): + PERCENTAGE = "percentage" + ABSOLUTE = "absolute" \ No newline at end of file From b440a9bf48edb1fc31cfaad364927beb2cf975e0 Mon Sep 17 00:00:00 2001 From: Christoph Eder Date: Sun, 1 Mar 2026 18:20:55 +0100 Subject: [PATCH 2/2] Changes in __init__.py Added DiscountType --- anansyTypes/__init__.py | 1 + 1 file changed, 1 insertion(+) diff --git a/anansyTypes/__init__.py b/anansyTypes/__init__.py index e52d7e0..2284128 100644 --- a/anansyTypes/__init__.py +++ b/anansyTypes/__init__.py @@ -27,6 +27,7 @@ __all__ = [ "PreprocessorType", "SymbolProvider", "Language", + "DiscountType", ]