133 #ifndef OPENTXS_CORE_SCRIPT_OTPARTYACCOUNT_HPP
134 #define OPENTXS_CORE_SCRIPT_OTPARTYACCOUNT_HPP
136 #include "../OTString.hpp"
147 class OTSmartContract;
149 typedef std::map<std::string, OTPseudonym*>
mapOfNyms;
192 int64_t m_lClosingTransNo;
237 return m_strAgentName;
245 return m_strAssetTypeID;
250 m_strAgentName = strAgentName;
254 m_strAcctID = strAccountID;
269 return m_lClosingTransNo;
273 m_lClosingTransNo = lTransNo;
279 const int64_t& lNewTransactionNumber,
const OTString& strOrigCronItem,
283 OTAccount& theAccount, int64_t lClosingTransNo);
286 int64_t lClosingTransNo);
291 bool bSpecifyAssetID =
false)
const;
299 m_pAccount =
nullptr;
305 #endif // OPENTXS_CORE_SCRIPT_OTPARTYACCOUNT_HPP
void SetAgentName(const OTString &strAgentName)
void Serialize(OTString &strAppend, bool bCalculatingID=false, bool bSpecifyAssetID=false) const
EXPORT const OTString & GetName() const
void SetAcctID(const OTString &strAccountID)
void ClearTemporaryPointers()
std::map< std::string, OTPseudonym * > mapOfNyms
EXPORT OTAgent * GetAuthorizedAgent()
void SetClosingTransNo(int64_t lTransNo)
bool Compare(const OTPartyAccount &rhs) const
const OTString & GetAgentName() const
OTParty * GetParty() const
const OTString & GetAcctID() const
EXPORT void RegisterForExecution(OTScript &theScript)
bool DropFinalReceiptToInbox(mapOfNyms *pNymMap, const OTString &strServerID, OTPseudonym &theServerNym, OTSmartContract &theSmartContract, const int64_t &lNewTransactionNumber, const OTString &strOrigCronItem, OTString *pstrNote=nullptr, OTString *pstrAttachment=nullptr)
const OTString & GetAssetTypeID() const
bool IsAccountByID(const OTIdentifier &theAcctID) const
bool VerifyOwnership() const
int64_t GetClosingTransNo() const
bool IsAccount(OTAccount &theAccount)
virtual ~OTPartyAccount()
void SetParty(OTParty &theOwnerParty)
OTAccount * LoadAccount(OTPseudonym &theSignerNym, const OTString &strServerID)