Gerhard Hoffmann
dbe649d0e4
pop_carry_over_start_time_range pop_carry_over_end_time_range: If carry-over has been set, then provide the limits for the carry-over: at the end of day1 (start) and at the beginning of the next day (end).
53 lines
1.3 KiB
C++
53 lines
1.3 KiB
C++
#ifndef PAYMENT_OPT_H_INCLUDED
|
|
#define PAYMENT_OPT_H_INCLUDED
|
|
|
|
|
|
#include <string>
|
|
#include <cinttypes>
|
|
|
|
class ATBPaymentOption
|
|
{
|
|
public:
|
|
ATBPaymentOption() = default;
|
|
|
|
void reset() {
|
|
pop_id = 0;
|
|
pop_label = "";
|
|
pop_payment_method_id = 0;
|
|
pop_day_end_time = "";
|
|
pop_day_night_end_time = "";
|
|
pop_price_night = 0;
|
|
pop_min_time = 0;
|
|
pop_max_time = 0;
|
|
pop_min_price = 0;
|
|
pop_max_price = 0;
|
|
pop_carry_over = -1;
|
|
pop_carry_over_time_range_id = -1;
|
|
pop_carry_over_start_time_range = -1;
|
|
pop_carry_over_end_time_range = -1;
|
|
pop_daily_card_price = -1;
|
|
pop_business_hours = -1;
|
|
pop_time_step_config = -1;
|
|
}
|
|
|
|
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;
|
|
double pop_max_price;
|
|
int pop_carry_over;
|
|
int pop_carry_over_time_range_id;
|
|
int pop_carry_over_start_time_range;
|
|
int pop_carry_over_end_time_range;
|
|
int pop_daily_card_price;
|
|
uint64_t pop_business_hours;
|
|
int pop_time_step_config;
|
|
};
|
|
|
|
#endif // PAYMENT_OPT_H_INCLUDED
|