From 43b8a8d3bfcca9094432533e13c2b29da2ca5e7e Mon Sep 17 00:00:00 2001 From: Gerhard Hoffmann Date: Tue, 12 Dec 2023 10:30:55 +0100 Subject: [PATCH] Add member pop_business_hours. Add default constructor. --- library/include/mobilisis/payment_opt.h | 23 +++++++++++++---------- 1 file changed, 13 insertions(+), 10 deletions(-) diff --git a/library/include/mobilisis/payment_opt.h b/library/include/mobilisis/payment_opt.h index 0655755..ca718d8 100644 --- a/library/include/mobilisis/payment_opt.h +++ b/library/include/mobilisis/payment_opt.h @@ -4,15 +4,18 @@ class ATBPaymentOption { public: - int pop_id; - std::string pop_label; - int pop_payment_method_id; - std::string pop_day_end_time; - std::string pop_day_night_end_time; - double pop_price_night; - double pop_min_time; - double pop_max_time; - double pop_min_price; - int pop_carry_over; + ATBPaymentOption() = default; + + int pop_id; + std::string pop_label; + int pop_payment_method_id; + std::string pop_day_end_time; + std::string pop_day_night_end_time; + double pop_price_night; + double pop_min_time; + double pop_max_time; + double pop_min_price; + int pop_carry_over; int pop_daily_card_price; + int pop_business_hours; };