133 #ifndef OPENTXS_CORE_OTACCOUNT_HPP
134 #define OPENTXS_CORE_OTACCOUNT_HPP
228 int64_t stashTransNum = 0);
233 int64_t stashTransNum = 0);
252 EXPORT
bool Debit(
const int64_t& amount);
255 EXPORT
bool Credit(
const int64_t& amount);
307 #endif // OPENTXS_CORE_OTACCOUNT_HPP
virtual EXPORT bool LoadContract()
virtual void UpdateContents()
EXPORT void SetInboxHash(const OTIdentifier &input)
EXPORT void Release_Account()
virtual EXPORT void Release()
EXPORT void InitAccount()
virtual EXPORT bool DisplayStatistics(OTString &contents) const
EXPORT const OTIdentifier & GetAssetTypeID() const
EXPORT bool SaveOutbox(OTLedger &box, OTIdentifier *nash=nullptr)
EXPORT char const * GetTypeString() const
static EXPORT OTTransactionType * TransactionFactory(OTString strInput)
EXPORT int64_t GetBalance() const
EXPORT bool VerifyOwnerByID(const OTIdentifier &nymId) const
static EXPORT OTAccount * GenerateNewAccount(const OTIdentifier &userId, const OTIdentifier &serverId, const OTPseudonym &serverNym, const OTMessage &message, AccountType acctType=simple, int64_t stashTransNum=0)
EXPORT OTLedger * LoadOutbox(OTPseudonym &nym) const
EXPORT void SetOutboxHash(const OTIdentifier &input)
virtual EXPORT ~OTAccount()
EXPORT bool IsInternalServerAcct() const
EXPORT bool IsStashAcct() const
EXPORT bool GetInboxHash(OTIdentifier &output)
EXPORT bool IsIssuer() const
static EXPORT char const * _GetTypeString(AccountType accountType)
EXPORT void SetStashTransNum(const int64_t &transNum)
virtual EXPORT bool SaveContractWallet(std::ofstream &ofs) const
EXPORT bool VerifyOwner(const OTPseudonym &candidate) const
virtual int32_t ProcessXMLNode(irr::io::IrrXMLReader *&xml)
EXPORT OTLedger * LoadInbox(OTPseudonym &nym) const
bool IsMarkedForDeletion() const
EXPORT bool IsOwnedByEntity() const
EXPORT bool GetOutboxHash(OTIdentifier &output)
EXPORT bool IsAllowedToGoNegative() const
EXPORT bool SaveInbox(OTLedger &box, OTIdentifier *hash=nullptr)
EXPORT const int64_t & GetStashTransNum() const
EXPORT bool SaveAccount()
EXPORT bool Credit(const int64_t &amount)
static EXPORT OTAccount * LoadExistingAccount(const OTIdentifier &accountId, const OTIdentifier &serverId)
EXPORT bool Debit(const int64_t &amount)
OTIdentifier acctAssetTypeId_
EXPORT bool IsOwnedByUser() const