GnuCash  5.3-284-gccd6d5ccf4+
Public Member Functions | Data Fields
StockTransactionEntry Struct Reference

Possibly misnamed. More...

Inheritance diagram for StockTransactionEntry:
StockTransactionFeesEntry StockTransactionsStockCapGainsEntry StockTransactionStockEntry

Public Member Functions

 StockTransactionEntry (bool debit_side, bool allow_zero, bool allow_negative, Account *account, gnc_numeric value)
 
virtual void set_fieldmask (FieldMask mask)
 
virtual void set_capitalize (bool capitalize)
 
virtual void set_value (gnc_numeric amount, const char *page, StringVec &errors)
 
virtual gnc_numeric amount ()
 
virtual void set_amount (gnc_numeric, StringVec &)
 
virtual void create_split (Transaction *trans, const char *action, AccountVec &commits)
 
virtual const char * print_value (GNCPrintAmountInfo info)
 
virtual const char * print_amount (gnc_numeric amt)
 
virtual gnc_numeric calculate_price (bool)
 

Data Fields

bool m_enabled
 
bool m_debit_side
 
bool m_allow_zero
 
bool m_allow_negative
 
Accountm_account
 
gnc_numeric m_value
 
const char * m_memo
 

Detailed Description

Possibly misnamed.

Collects the required information to create a single split in a transaction. This is the base class; there are child classes for many split types.

Definition at line 428 of file assistant-stock-transaction.cpp.


The documentation for this struct was generated from the following file: