Bitcoin
Public Member Functions | Private Attributes | List of all members
WalletModelTransaction Class Reference

#include <walletmodeltransaction.h>

Public Member Functions

 WalletModelTransaction (const QList< SendCoinsRecipient > &recipients)
 
QList< SendCoinsRecipientgetRecipients () const
 
std::unique_ptr< interfaces::PendingWalletTx > & getWtx ()
 
unsigned int getTransactionSize ()
 
void setTransactionFee (const CAmount &newFee)
 
CAmount getTransactionFee () const
 
CAmount getTotalTransactionAmount () const
 
void reassignAmounts (int nChangePosRet)
 

Private Attributes

QList< SendCoinsRecipientrecipients
 
std::unique_ptr< interfaces::PendingWalletTxwtx
 
CAmount fee
 

Detailed Description

Data model for a walletmodel transaction.

Constructor & Destructor Documentation

◆ WalletModelTransaction()

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

Member Function Documentation

◆ getRecipients()

QList< SendCoinsRecipient > WalletModelTransaction::getRecipients ( ) const

◆ getTotalTransactionAmount()

CAmount WalletModelTransaction::getTotalTransactionAmount ( ) const

◆ getTransactionFee()

CAmount WalletModelTransaction::getTransactionFee ( ) const

◆ getTransactionSize()

unsigned int WalletModelTransaction::getTransactionSize ( )

◆ getWtx()

std::unique_ptr< interfaces::PendingWalletTx > & WalletModelTransaction::getWtx ( )

◆ reassignAmounts()

void WalletModelTransaction::reassignAmounts ( int  nChangePosRet)

◆ setTransactionFee()

void WalletModelTransaction::setTransactionFee ( const CAmount newFee)

Member Data Documentation

◆ fee

CAmount WalletModelTransaction::fee
private

◆ recipients

QList<SendCoinsRecipient> WalletModelTransaction::recipients
private

◆ wtx

std::unique_ptr<interfaces::PendingWalletTx> WalletModelTransaction::wtx
private

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