2023-04-24 15:31:46 +02:00
|
|
|
#pragma once
|
|
|
|
#include <string>
|
|
|
|
|
|
|
|
class ATBPaymentOption
|
|
|
|
{
|
|
|
|
public:
|
2023-12-12 10:30:55 +01:00
|
|
|
ATBPaymentOption() = default;
|
|
|
|
|
2024-01-30 10:16:16 +01:00
|
|
|
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_carry_over = -1;
|
|
|
|
pop_carry_over_time_range_id = -1;
|
|
|
|
pop_daily_card_price = -1;
|
|
|
|
pop_business_hours = -1;
|
|
|
|
pop_time_step_config = -1;
|
|
|
|
}
|
|
|
|
|
2023-12-12 10:30:55 +01:00
|
|
|
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;
|
2024-01-18 14:38:13 +01:00
|
|
|
int pop_carry_over_time_range_id;
|
2023-05-15 14:05:55 +02:00
|
|
|
int pop_daily_card_price;
|
2023-12-12 10:30:55 +01:00
|
|
|
int pop_business_hours;
|
2024-01-18 14:38:13 +01:00
|
|
|
int pop_time_step_config;
|
2023-05-15 14:05:55 +02:00
|
|
|
};
|