A representation of a balance change for an account. More...
#include <MappingSurvey.h>
Public Member Functions | |
bool | operator!= (const BalanceChange &) const =default |
std::strong_ordering | operator<=> (const BalanceChange &other) const noexcept |
Performs a comparison based on the transaction and isIncrease value. | |
bool | operator== (const BalanceChange &) const =default |
Public Attributes | |
bool | isIncrease_ {} |
A flag, when true, indicates that the transaction is a balance increase for the account. | |
accounting::Transaction | transaction_ {} |
The transaction responsible for the account balance change. | |
A representation of a balance change for an account.
|
nodiscarddefault |
|
nodiscardnoexcept |
Performs a comparison based on the transaction and isIncrease value.
other | The other object to compare with. |
|
nodiscarddefault |
bool drn::surveying::BalanceChange::isIncrease_ {} |
A flag, when true, indicates that the transaction is a balance increase for the account.
accounting::Transaction drn::surveying::BalanceChange::transaction_ {} |
The transaction responsible for the account balance change.