24 double mLandlineCentsPerMinute;
25 double mLandlineCentsPerCall;
26 double mMobileCentsPerMinute;
27 double mMobileCentsPerCall;
30 explicit CallCost(
int pFreeSeconds = 0,
double pLandlineCentsPerMinute = 0.0,
double pLandlineCentsPerCall = 0.0,
double pMobileCentsPerMinute = 0.0,
double pMobileCentsPerCall = 0.0);
31 explicit CallCost(
const QJsonValue& pJson);
36 [[nodiscard]]
bool isNull()
const;
47 return &pLeft == &pRight || (
48 pLeft.mFreeSeconds == pRight.mFreeSeconds &&
49 pLeft.mLandlineCentsPerMinute == pRight.mLandlineCentsPerMinute &&
50 pLeft.mLandlineCentsPerCall == pRight.mLandlineCentsPerCall &&
51 pLeft.mMobileCentsPerMinute == pRight.mMobileCentsPerMinute &&
52 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:45
Implementation of GeneralAuthenticate response APDUs.
Definition CommandApdu.h:17
bool operator==(const CommandApdu &pLeft, const CommandApdu &pRight)
Definition CommandApdu.h:105