Class QIFInvestment
- Namespace
- Tudormobile.QIFLibrary
- Assembly
- Tudormobile.QIFLibrary.dll
Represents a QIF Investment record.
public class QIFInvestment : QIFRecord
- Inheritance
-
QIFInvestment
- Inherited Members
Constructors
QIFInvestment(DateTime, decimal, string, string, string, string, string, string, QIFInvestmentType, string, decimal, decimal, decimal, decimal)
Create and initialize a new QIF Investment Transaction.
public QIFInvestment(DateTime Date, decimal Amount, string Memo, string Status, string check, string payee, string address, string category, QIFInvestmentType investmentType, string securityName, decimal price, decimal quantity, decimal commision, decimal splitAmount)
Parameters
DateDateTimeTransction date.
AmountdecimalAmount of the transaction.
MemostringUser supplied memo.
StatusstringCleared status of the transaction.
checkstringCheck number.
payeestringPayee.
addressstringAddress of payee.
categorystringCategory.
investmentTypeQIFInvestmentTypeInvestment Transaction type.
securityNamestringSecurity name.
pricedecimalPrice.
quantitydecimalQuantity.
commisiondecimalCommision cost.
splitAmountdecimalAmount Transferred
Fields
Empty
An empty (invalid) record.
public static readonly QIFInvestment Empty
Field Value
Properties
Address
Address of Payee.
public string Address { get; }
Property Value
Category
Category or Transfer and (optionally) Class.
public string Category { get; }
Property Value
Check
Check Number.
public string Check { get; }
Property Value
Commision
Commission cost.
public decimal Commision { get; }
Property Value
InvestmentAction
Investment Action (Buy, Sell, etc.).
public QIFInvestmentType InvestmentAction { get; }
Property Value
Payee
Payee
public string Payee { get; }
Property Value
Price
Price.
public decimal Price { get; }
Property Value
Quantity
Quantity of shares.
public decimal Quantity { get; }
Property Value
SecurityName
Security name.
public string SecurityName { get; }
Property Value
SplitAmount
Amount Transferred.
public decimal SplitAmount { get; }
Property Value
Methods
ToString()
Converts this transaction to a string.
public override string ToString()
Returns
- string
String representation of this transaction.