Added private_getDurationFromCost()
This commit is contained in:
parent
602ff5f94e
commit
cc5c52c1a0
@ -55,11 +55,16 @@ private:
|
|||||||
PaymentMethod getPaymentMethodId(Configuration const *cfg);
|
PaymentMethod getPaymentMethodId(Configuration const *cfg);
|
||||||
int getMinimalParkingTime(Configuration const *cfg, PaymentMethod methodId);
|
int getMinimalParkingTime(Configuration const *cfg, PaymentMethod methodId);
|
||||||
int getMaximalParkingTime(Configuration const *cfg, PaymentMethod methodId);
|
int getMaximalParkingTime(Configuration const *cfg, PaymentMethod methodId);
|
||||||
|
uint32_t getMinimalParkingPrice(Configuration const *cfg, PaymentMethod methodId);
|
||||||
|
|
||||||
Ticket private_GetCostFromDuration(Configuration const* cfg,
|
Ticket private_GetCostFromDuration(Configuration const* cfg,
|
||||||
QDateTime const &start,
|
QDateTime const &start,
|
||||||
int durationMinutes,
|
int durationMinutes,
|
||||||
bool prepaid = false);
|
bool prepaid = false);
|
||||||
|
Ticket private_GetDurationFromCost(Configuration *cfg,
|
||||||
|
QDateTime const &start,
|
||||||
|
uint32_t price,
|
||||||
|
bool prepaid = false);
|
||||||
|
|
||||||
bool checkDurationMinutes(int minParkingTime, int maxParkingTime,
|
bool checkDurationMinutes(int minParkingTime, int maxParkingTime,
|
||||||
int durationMinutes);
|
int durationMinutes);
|
||||||
|
Loading…
Reference in New Issue
Block a user