22 double mLandlineCentsPerMinute;
23 double mLandlineCentsPerCall;
24 double mMobileCentsPerMinute;
25 double mMobileCentsPerCall;
28 explicit CallCost(
int pFreeSeconds = 0,
double pLandlineCentsPerMinute = 0.0,
double pLandlineCentsPerCall = 0.0,
double pMobileCentsPerMinute = 0.0,
double pMobileCentsPerCall = 0.0);
29 explicit CallCost(
const QJsonValue& pJson);
34 [[nodiscard]]
bool isNull()
const;
45 return &pLeft == &pRight || (
46 pLeft.mFreeSeconds == pRight.mFreeSeconds &&
47 pLeft.mLandlineCentsPerMinute == pRight.mLandlineCentsPerMinute &&
48 pLeft.mLandlineCentsPerCall == pRight.mLandlineCentsPerCall &&
49 pLeft.mMobileCentsPerMinute == pRight.mMobileCentsPerMinute &&
50 pLeft.mMobileCentsPerCall == pRight.mMobileCentsPerCall);
QDebug operator<<(QDebug pDbg, const governikus::CallCost &pCallCost)
Definition: CallCost.cpp:79
Definition: CallCost.h:17
double getLandlineCentsPerCall() const
Definition: CallCost.cpp:61
double getMobileCentsPerCall() const
Definition: CallCost.cpp:73
int getFreeSeconds() const
Definition: CallCost.cpp:49
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:43
A simple template renderer.
Definition: ActivationContext.h:15
bool operator==(const CommandApdu &pLeft, const CommandApdu &pRight)
Definition: CommandApdu.h:102