From f9cc3af4736aaf8d116a8a836979dd400d64926d Mon Sep 17 00:00:00 2001 From: Gerhard Hoffmann Date: Wed, 11 Sep 2024 11:55:03 +0200 Subject: [PATCH] ParseJson(): Add parsing of "pop_apply_carry_over_to_ticket_endtime". --- library/src/configuration.cpp | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/library/src/configuration.cpp b/library/src/configuration.cpp index 09b8b82..6aa6918 100644 --- a/library/src/configuration.cpp +++ b/library/src/configuration.cpp @@ -984,6 +984,10 @@ bool Configuration::ParseJson(Configuration* cfg, const char* json) if (k->value.IsBool()) { this->currentPaymentOptions.last().pop_allow_overpay = k->value.GetBool(); } + } else if (strcmp(inner_obj_name, "pop_apply_carry_over_to_ticket_endtime") == 0) { + if (k->value.IsBool()) { + this->currentPaymentOptions.last().pop_apply_carry_over_to_ticket_endtime = k->value.GetBool(); + } } else if (strcmp(inner_obj_name, "pop_payment_method_id") == 0) { this->currentPaymentOptions.last().pop_payment_method_id = k->value.GetInt(); } else if (strcmp(inner_obj_name, "pop_day_end_time") == 0) {