135 #ifndef OPENTXS_CORE_OTAGREEMENT_HPP
136 #define OPENTXS_CORE_OTAGREEMENT_HPP
192 const int64_t& lNewTransactionNumber,
348 return m_RECIPIENT_ACCT_ID;
352 return m_RECIPIENT_USER_ID;
356 m_RECIPIENT_ACCT_ID = ACCT_ID;
360 m_RECIPIENT_USER_ID = USER_ID;
461 mapOfNyms* pmap_ALREADY_LOADED =
nullptr)
const;
474 const OTIdentifier& theServerID,
const int64_t& lNewTransactionNumber,
485 const OTIdentifier& USER_ID,
const int64_t& lNewTransactionNumber,
486 const int64_t& lInReferenceTo,
const OTString& strReference,
514 #endif // OPENTXS_CORE_OTAGREEMENT_HPP
virtual int32_t ProcessXMLNode(irr::io::IrrXMLReader *&xml)
void SetRecipientUserID(const OTIdentifier &USER_ID)
EXPORT int32_t GetRecipientCountClosingNumbers() const
virtual void onRemovalFromCron()
EXPORT int64_t GetRecipientClosingTransactionNoAt(uint32_t nIndex) const
EXPORT bool SetProposal(OTPseudonym &MERCHANT_NYM, const OTString &strConsideration, time64_t VALID_FROM=OT_TIME_ZERO, time64_t VALID_TO=OT_TIME_ZERO)
void SetMerchantSignedCopy(const OTString &strMerchantCopy)
OTString m_strConsideration
void AddRecipientClosingTransactionNo(const int64_t &lClosingTransactionNo)
std::map< std::string, OTPseudonym * > mapOfNyms
EXPORT bool SendNoticeToAllParties(bool bSuccessMsg, OTPseudonym &theServerNym, const OTIdentifier &theServerID, const int64_t &lNewTransactionNumber, const OTString &strReference, OTString *pstrNote=nullptr, OTString *pstrAttachment=nullptr, OTPseudonym *pActualNym=nullptr) const
const OTString & GetMerchantSignedCopy() const
OTString m_strMerchantSignedCopy
void SetRecipientAcctID(const OTIdentifier &ACCT_ID)
virtual bool CanRemoveItemFromCron(OTPseudonym &theNym)
virtual bool CompareAgreement(const OTAgreement &rhs) const
virtual int64_t GetClosingNumber(const OTIdentifier &theAcctID) const
EXPORT int64_t GetRecipientOpeningNum() const
virtual void HarvestOpeningNumber(OTPseudonym &theNym)
virtual bool SaveContractWallet(std::ofstream &ofs) const
EXPORT bool Confirm(OTPseudonym &PAYER_NYM, OTPseudonym *pMERCHANT_NYM=nullptr, const OTIdentifier *p_id_MERCHANT_NYM=nullptr)
virtual bool ProcessCron()
virtual bool HasTransactionNum(const int64_t &lInput) const
EXPORT int64_t GetRecipientClosingNum() const
const OTString & GetConsideration() const
virtual void UpdateContents()
virtual bool VerifyAgreement(OTPseudonym &RECIPIENT_NYM, OTPseudonym &SENDER_NYM) const =0
virtual bool VerifyNymAsAgent(OTPseudonym &theNym, OTPseudonym &theSignerNym, mapOfNyms *pmap_ALREADY_LOADED=nullptr) const
virtual EXPORT int64_t GetOpeningNumber(const OTIdentifier &theNymID) const
virtual void onFinalReceipt(OTCronItem &theOrigCronItem, const int64_t &lNewTransactionNumber, OTPseudonym &theOriginator, OTPseudonym *pRemover)
virtual EXPORT void HarvestClosingNumbers(OTPseudonym &theNym)
const OTIdentifier & GetRecipientUserID() const
virtual bool IsValidOpeningNumber(const int64_t &lOpeningNum) const
virtual void GetAllTransactionNumbers(OTNumList &numlistOutput) const
const OTIdentifier & GetRecipientAcctID() const
std::deque< int64_t > m_dequeRecipientClosingNumbers
static EXPORT bool DropServerNoticeToNymbox(bool bSuccessMsg, OTPseudonym &theServerNym, const OTIdentifier &SERVER_ID, const OTIdentifier &USER_ID, const int64_t &lNewTransactionNumber, const int64_t &lInReferenceTo, const OTString &strReference, OTString *pstrNote=nullptr, OTString *pstrAttachment=nullptr, OTPseudonym *pActualNym=nullptr)
virtual bool VerifyNymAsAgentForAccount(OTPseudonym &theNym, OTAccount &theAccount) const