133 #ifndef OPENTXS_CORE_OTITEM_HPP
134 #define OPENTXS_CORE_OTITEM_HPP
404 int64_t lReferenceNumber);
449 int64_t lOutboxTrnsNum = 0);
456 bool bIsRealTransaction =
true);
497 int64_t lTransactionNumber);
528 #endif // OPENTXS_CORE_OTITEM_HPP
void AddItem(OTItem &theItem)
void SetAmount(int64_t lAmount)
virtual bool SaveContractWallet(std::ofstream &ofs) const
static EXPORT OTItem * CreateItemFromString(const OTString &strItem, const OTIdentifier &theServerID, int64_t lTransactionNumber)
OTItem * GetItem(int32_t nIndex)
EXPORT void GetAttachment(OTString &theStr) const
EXPORT bool VerifyTransactionStatement(OTPseudonym &THE_NYM, OTTransaction &TARGET_TRANSACTION, bool bIsRealTransaction=true)
listOfItems & GetItemList()
static EXPORT OTTransactionType * TransactionFactory(OTString strInput)
EXPORT bool AddBlankNumbersToItem(const OTNumList &theAddition)
EXPORT bool VerifyBalanceStatement(int64_t lActualAdjustment, OTPseudonym &THE_NYM, OTLedger &THE_INBOX, OTLedger &THE_OUTBOX, const OTAccount &THE_ACCOUNT, OTTransaction &TARGET_TRANSACTION, int64_t lOutboxTrnsNum=0)
int64_t GetNewOutboxTransNum() const
EXPORT void GetNote(OTString &theStr) const
EXPORT void SetAttachment(const OTString &theStr)
OTItem * GetFinalReceiptItemByReferenceNum(int64_t lReferenceNumber)
static EXPORT OTItem * CreateItemFromTransaction(const OTTransaction &theOwner, OTItem::itemType theType, const OTIdentifier *pDestinationAcctID=nullptr)
OTItem * GetItemByTransactionNum(int64_t lTransactionNumber)
int64_t GetClosingNum() const
void SetStatus(const OTItem::itemStatus &theVal)
void SetDestinationAcctID(const OTIdentifier &theID)
virtual EXPORT void CalculateNumberOfOrigin()
void SetNewOutboxTransNum(int64_t lTransNum)
int64_t m_lNewOutboxTransNum
void SetClosingNum(int64_t lClosingNum)
int64_t GetAmount() const
const OTIdentifier & GetDestinationAcctID() const
std::list< OTItem * > listOfItems
EXPORT void SetNote(const OTString &theStr)
OTItem::itemStatus GetStatus() const
int32_t GetItemCountInRefTo(int64_t lReference)
virtual void UpdateContents()
int32_t GetItemCount() const
OTASCIIArmor m_ascAttachment
static EXPORT void GetStringFromType(OTItem::itemType theType, OTString &strType)
OTItem::itemType GetType() const
int64_t m_lClosingTransactionNo
void GetTypeString(OTString &strType) const
void SetType(OTItem::itemType theType)
virtual EXPORT int64_t GetNumberOfOrigin()
virtual int32_t ProcessXMLNode(irr::io::IrrXMLReader *&xml)