Bitcoin ABC  0.28.12
P2P Digital Currency
Public Member Functions | Private Attributes | List of all members
WalletModelTransaction Class Reference

Data model for a walletmodel transaction. More...

#include <walletmodeltransaction.h>

Collaboration diagram for WalletModelTransaction:
[legend]

Public Member Functions

 WalletModelTransaction (const QList< SendCoinsRecipient > &recipients)
 
QList< SendCoinsRecipientgetRecipients () const
 
CTransactionRefgetWtx ()
 
unsigned int getTransactionSize ()
 
void setTransactionFee (const Amount newFee)
 
Amount getTransactionFee () const
 
Amount getTotalTransactionAmount () const
 
void reassignAmounts (int nChangePosRet)
 

Private Attributes

QList< SendCoinsRecipientrecipients
 
CTransactionRef wtx
 
Amount fee
 

Detailed Description

Data model for a walletmodel transaction.

Definition at line 22 of file walletmodeltransaction.h.

Constructor & Destructor Documentation

◆ WalletModelTransaction()

WalletModelTransaction::WalletModelTransaction ( const QList< SendCoinsRecipient > &  recipients)
explicit

Definition at line 13 of file walletmodeltransaction.cpp.

Member Function Documentation

◆ getRecipients()

QList< SendCoinsRecipient > WalletModelTransaction::getRecipients ( ) const

Definition at line 17 of file walletmodeltransaction.cpp.

Here is the caller graph for this function:

◆ getTotalTransactionAmount()

Amount WalletModelTransaction::getTotalTransactionAmount ( ) const

Definition at line 76 of file walletmodeltransaction.cpp.

Here is the call graph for this function:

◆ getTransactionFee()

Amount WalletModelTransaction::getTransactionFee ( ) const

Definition at line 29 of file walletmodeltransaction.cpp.

◆ getTransactionSize()

unsigned int WalletModelTransaction::getTransactionSize ( )

Definition at line 25 of file walletmodeltransaction.cpp.

◆ getWtx()

CTransactionRef & WalletModelTransaction::getWtx ( )

Definition at line 21 of file walletmodeltransaction.cpp.

Here is the caller graph for this function:

◆ reassignAmounts()

void WalletModelTransaction::reassignAmounts ( int  nChangePosRet)

Definition at line 37 of file walletmodeltransaction.cpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ setTransactionFee()

void WalletModelTransaction::setTransactionFee ( const Amount  newFee)

Definition at line 33 of file walletmodeltransaction.cpp.

Here is the caller graph for this function:

Member Data Documentation

◆ fee

Amount WalletModelTransaction::fee
private

Definition at line 43 of file walletmodeltransaction.h.

◆ recipients

QList<SendCoinsRecipient> WalletModelTransaction::recipients
private

Definition at line 41 of file walletmodeltransaction.h.

◆ wtx

CTransactionRef WalletModelTransaction::wtx
private

Definition at line 42 of file walletmodeltransaction.h.


The documentation for this class was generated from the following files: