From 260973cd094c731dba4f5be149edc691e5cf28fb Mon Sep 17 00:00:00 2001 From: Gerhard Hoffmann Date: Thu, 1 Aug 2024 15:44:06 +0200 Subject: [PATCH] Added pop_plus_steps/pop_minus_steps to control step sizes --- library/include/mobilisis/payment_opt.h | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/library/include/mobilisis/payment_opt.h b/library/include/mobilisis/payment_opt.h index 6bb51c0..ec16849 100644 --- a/library/include/mobilisis/payment_opt.h +++ b/library/include/mobilisis/payment_opt.h @@ -38,8 +38,10 @@ public: pop_daily_card_price = -1; pop_business_hours = -1; pop_time_step_config = -1; - pop_use_only_upto_datetime = ""; - pop_use_only_for_duration = 0; + pop_use_only_upto_datetime = ""; // deprecated + pop_use_only_for_duration = 0; // deprecated + pop_plus_steps = 1; // +: jump steps forward + pop_minus_steps = 1; // -: jump steps backward } int pop_id; @@ -69,6 +71,8 @@ public: int pop_time_step_config; bool pop_accumulate_prices; bool pop_accumulate_durations; + int pop_plus_steps; + int pop_minus_steps; struct ATBMaxDateTime { int direction;