20 double mLandlineCentsPerMinute;
21 double mLandlineCentsPerCall;
22 double mMobileCentsPerMinute;
23 double mMobileCentsPerCall;
26 explicit CallCost(
int pFreeSeconds = 0,
double pLandlineCentsPerMinute = 0.0,
double pLandlineCentsPerCall = 0.0,
double pMobileCentsPerMinute = 0.0,
double pMobileCentsPerCall = 0.0);
27 explicit CallCost(
const QJsonValue& pJson);
32 [[nodiscard]]
bool isNull()
const;
43 return &pLeft == &pRight || (
44 pLeft.mFreeSeconds == pRight.mFreeSeconds &&
45 pLeft.mLandlineCentsPerMinute == pRight.mLandlineCentsPerMinute &&
46 pLeft.mLandlineCentsPerCall == pRight.mLandlineCentsPerCall &&
47 pLeft.mMobileCentsPerMinute == pRight.mMobileCentsPerMinute &&
48 pLeft.mMobileCentsPerCall == pRight.mMobileCentsPerCall);
QDebug operator<<(QDebug pDbg, const governikus::CallCost &pCallCost)
Definition CallCost.cpp:79
double getLandlineCentsPerCall() const
Definition CallCost.cpp:61
double getMobileCentsPerCall() const
Definition CallCost.cpp:73
int getFreeSeconds() const
Definition CallCost.cpp:49
CallCost(int pFreeSeconds=0, double pLandlineCentsPerMinute=0.0, double pLandlineCentsPerCall=0.0, double pMobileCentsPerMinute=0.0, double pMobileCentsPerCall=0.0)
Definition CallCost.cpp:23
bool isNull() const
Definition CallCost.cpp:43
double getMobileCentsPerMinute() const
Definition CallCost.cpp:67
double getLandlineCentsPerMinute() const
Definition CallCost.cpp:55
friend bool operator==(const CallCost &pLeft, const CallCost &pRight)
Definition CallCost.h:41
Defines the AccessRight and AccessRole enum.
Definition CommandApdu.h:17
bool operator==(const CommandApdu &pLeft, const CommandApdu &pRight)
Definition CommandApdu.h:105