133 #ifndef OPENTXS_CORE_TRANSACTION_HPP
134 #define OPENTXS_CORE_TRANSACTION_HPP
533 const OTIdentifier& theServerID, int64_t lTransactionNum);
542 const int64_t& lNumberOfOrigin,
543 const int64_t& lTransactionNum,
const int64_t& lInRefTo,
544 const int64_t& lInRefDisplay,
time64_t the_DATE_SIGNED,
546 const int64_t& lAdjustment,
const int64_t& lDisplayValue,
547 const int64_t& lClosingNum,
const int64_t& lRequestNum,
548 bool bReplyTransSuccess,
OTNumList* pNumList =
nullptr);
673 int64_t lTransactionNum = 0);
677 int64_t lTransactionNum = 0);
766 bool bHarvestingForRetry,
771 bool bReplyWasSuccess,
772 bool bReplyWasFailure,
773 bool bTransactionWasSuccess,
774 bool bTransactionWasFailure);
784 bool bHarvestingForRetry,
789 bool bReplyWasSuccess,
790 bool bReplyWasFailure,
791 bool bTransactionWasSuccess,
792 bool bTransactionWasFailure);
925 #endif // OPENTXS_CORE_TRANSACTION_HPP
virtual void UpdateContents()
virtual EXPORT ~OTTransaction()
EXPORT bool GetSenderAcctIDForDisplay(OTIdentifier &theReturnID)
static EXPORT OTTransaction * GenerateTransaction(const OTIdentifier &theUserID, const OTIdentifier &theAccountID, const OTIdentifier &theServerID, transactionType theType, int64_t lTransactionNum=0)
void SaveAbbrevExpiredBoxRecord(OTString &strOutput)
void SetAbbrevDisplayAmount(int64_t lAmount)
EXPORT bool AddNumbersToTransaction(const OTNumList &theAddition)
void SaveAbbrevRecordBoxRecord(OTString &strOutput)
void SaveAbbreviatedInboxRecord(OTString &strOutput)
bool HarvestClosingNumbers(OTPseudonym &theNym, bool bHarvestingForRetry, bool bReplyWasSuccess, bool bReplyWasFailure, bool bTransactionWasSuccess, bool bTransactionWasFailure)
virtual EXPORT int64_t GetNumberOfOrigin()
const OTLedger * m_pParent
static EXPORT OTTransactionType * TransactionFactory(OTString strInput)
EXPORT bool DeleteBoxReceipt(OTLedger &theLedger)
EXPORT bool GetRecipientAcctIDForDisplay(OTIdentifier &theReturnID)
int64_t GetAbbrevAdjustment() const
virtual bool VerifyAccount(const OTPseudonym &theNym)
void SaveAbbreviatedNymboxRecord(OTString &strOutput)
EXPORT OTItem * GetItemInRefTo(int64_t lReference)
bool m_bReplyTransSuccess
void SaveAbbrevPaymentInboxRecord(OTString &strOutput)
EXPORT bool GetSenderUserIDForDisplay(OTIdentifier &theReturnID)
const int64_t & GetRequestNum() const
const char * GetTypeString() const
int32_t GetItemCountInRefTo(int64_t lReference)
EXPORT bool GetMemo(OTString &strMemo)
EXPORT OTItem * GetItem(OTItem::itemType theType)
virtual int32_t ProcessXMLNode(irr::io::IrrXMLReader *&xml)
EXPORT void SetClosingNum(int64_t lClosingNum)
OTASCIIArmor m_ascCancellationRequest
EXPORT int64_t GetClosingNum() const
bool HarvestOpeningNumber(OTPseudonym &theNym, bool bHarvestingForRetry, bool bReplyWasSuccess, bool bReplyWasFailure, bool bTransactionWasSuccess, bool bTransactionWasFailure)
bool VerifyBoxReceipt(OTTransaction &theFullVersion)
EXPORT bool VerifyBalanceReceipt(OTPseudonym &SERVER_NYM, OTPseudonym &THE_NYM)
static transactionType GetTypeFromString(const OTString &strType)
void SetReplyTransSuccess(bool bVal)
std::list< OTItem * > listOfItems
void SetAbbrevInRefDisplay(int64_t lAmount)
time64_t GetDateSigned() const
EXPORT bool IsCancelled()
EXPORT bool SaveBoxReceipt(int64_t lLedgerType)
EXPORT int64_t GetReferenceNumForDisplay()
int64_t GetAbbrevDisplayAmount() const
void SaveAbbreviatedOutboxRecord(OTString &strOutput)
transactionType GetType() const
int32_t GetItemCount() const
void ProduceInboxReportItem(OTItem &theBalanceItem)
EXPORT int64_t GetReceiptAmount()
bool IsAbbreviated() const
void SetRequestNum(const int64_t &lNum)
EXPORT const char * GetTransactionTypeString(int transactionNumber)
bool GetReplyTransSuccess()
void ProduceOutboxReportItem(OTItem &theBalanceItem)
void SetAbbrevAdjustment(int64_t lAmount)
listOfItems & GetItemList()
EXPORT void SetAsCancelled()
EXPORT bool VerifyItems(OTPseudonym &theNym)
int64_t m_lClosingTransactionNo
EXPORT void AddItem(OTItem &theItem)
void SetType(transactionType theType)
virtual bool SaveContractWallet(std::ofstream &ofs) const
int64_t GetAbbrevInRefDisplay() const
void SetParent(const OTLedger &theParent)
EXPORT bool GetRecipientUserIDForDisplay(OTIdentifier &theReturnID)
virtual EXPORT void CalculateNumberOfOrigin()