getPaymentOptions(): added default-parameter 'paymentOptionsIndex'
Added getCurrentPaymentOptionIndex() and isHoliday().
This commit is contained in:
parent
afa62183fd
commit
e210224340
@ -63,10 +63,12 @@ public:
|
||||
/// <returns>Returns operation status bool (OK | FAIL) </returns>
|
||||
bool ParseJson(Configuration* cfg, const char* json);
|
||||
|
||||
ATBPaymentOption &getPaymentOptions();
|
||||
ATBPaymentOption const &getPaymentOptions() const;
|
||||
ATBPaymentOption &getPaymentOptions(int paymentOptionsIndex=0);
|
||||
ATBPaymentOption const &getPaymentOptions(int paymentOptionsIndex=0) const;
|
||||
QVector<ATBPaymentOption> &getAllPaymentOptions();
|
||||
QVector<ATBPaymentOption> const &getAllPaymentOptions() const;
|
||||
int getCurrentPaymentOptionIndex(QDateTime const &dt) const;
|
||||
bool isHoliday(QDateTime const &dt) const;
|
||||
std::optional<QVector<ATBPaymentRate>> getPaymentRateForAllKeys() const;
|
||||
std::optional<QVector<ATBPaymentRate>> getPaymentRateForKey(int key) const;
|
||||
std::optional<QVector<ATBDailyTicket>> getDailyTicketsForAllKeys() const;
|
||||
|
Loading…
Reference in New Issue
Block a user