Classes |
struct | AccountEntry |
Public Member Functions |
const ShadowAccount | activateAccount (const AccountKey &account) |
const ShadowAccount | syncFromMaster (const AccountKey &account, const Account &master) |
const ShadowAccount | initializeAndMergeState (const AccountKey &account, const Account &master) |
void | checkInvariants () const |
const ShadowAccount | getAccount (const AccountKey &accountKey) const |
bool | accountExists (const AccountKey &accountKey) const |
bool | createAccountAtomic (const AccountKey &accountKey) |
void | syncTo (Accounts &master) const |
void | syncFrom (const Accounts &master) |
void | sync (Accounts &master) |
bool | isInitialized (const AccountKey &accountKey) const |
bool | authorizeBid (const AccountKey &accountKey, const std::string &item, Amount amount) |
void | commitBid (const AccountKey &accountKey, const std::string &item, Amount amountPaid, const LineItems &lineItems) |
void | cancelBid (const AccountKey &accountKey, const std::string &item) |
void | forceWinBid (const AccountKey &accountKey, Amount amountPaid, const LineItems &lineItems) |
void | commitDetachedBid (const AccountKey &accountKey, Amount amountAuthorized, Amount amountPaid, const LineItems &lineItems) |
| Commit a bid that has been detached from its tracking.
|
Amount | detachBid (const AccountKey &accountKey, const std::string &item) |
void | attachBid (const AccountKey &accountKey, const std::string &item, Amount amountAuthorized) |
void | logBidEvents (const Datacratic::EventRecorder &eventRecorder) |
std::vector< AccountKey > | getAccountKeys (const AccountKey &prefix=AccountKey()) const |
void | forEachAccount (const std::function< void(const AccountKey &, const ShadowAccount &)> &onAccount) const |
void | forEachInitializedAccount (const std::function< void(const AccountKey &, const ShadowAccount &)> &onAccount) |
size_t | size () const |
bool | empty () const |
Public Attributes |
std::function< void(AccountKey)> | onNewAccount |
Definition at line 1239 of file account.h.