getPaymentOption() functions and getPaymentOptionIndex()
This commit is contained in:
parent
7ef2d44fc4
commit
003b7e8e8a
@ -28,6 +28,7 @@
|
||||
#include "tariff_interpolation.h"
|
||||
#include "tariff_prepaid.h"
|
||||
#include "tariff_carryover.h"
|
||||
#include "tariff_permit_type.h"
|
||||
|
||||
#include <QVector>
|
||||
#include <optional>
|
||||
@ -91,7 +92,11 @@ public:
|
||||
bool isDayIncludedAsSpecialDay(uint64_t businessHours, QDateTime const &dt) const;
|
||||
bool isDayIncludedAsSpecialDay(uint64_t businessHours, int specialDayId) const;
|
||||
std::optional<QVector<ATBPaymentRate>> getPaymentRateForAllKeys() const;
|
||||
std::optional<QVector<ATBPaymentOption>> getPaymentOptionsForAllKeys() const;
|
||||
std::optional<QVector<ATBPaymentRate>> getPaymentRateForKey(int key) const;
|
||||
std::optional<ATBPaymentOption> getPaymentOptionForKey(PERMIT_TYPE permitType) const;
|
||||
std::optional<ATBPaymentOption> getPaymentOptionForKey(int permitType) const;
|
||||
std::optional<ATBPaymentOption> getPaymentOptionForKey(QString const &permitType) const;
|
||||
std::optional<QVector<ATBDailyTicket>> getDailyTicketsForAllKeys() const;
|
||||
std::optional<QVector<ATBDailyTicket>> getDailyTicketsForKey(int key) const;
|
||||
std::optional<ATBInterpolation> getInterpolationType(int type) const;
|
||||
@ -105,6 +110,8 @@ public:
|
||||
std::optional<ATBWeekDaysWorktime> getWeekDayWorkTime(QTime const &time, Qt::DayOfWeek dayOfWeek);
|
||||
|
||||
std::optional<QDateTime> prepaidStart(QDateTime const &start, int prepaid_option_id);
|
||||
int getPaymentOptionIndex(PERMIT_TYPE permitType);
|
||||
int getPaymentOptionIndex(PERMIT_TYPE permitType) const;
|
||||
|
||||
private:
|
||||
/// <summary>
|
||||
|
Loading…
Reference in New Issue
Block a user