C# Class BudgetAnalyser.Engine.Statement.NamedTransaction

A simple type to represent the transaction type classification provided by the bank for a transaction. The type code is simply represented as a string.
Inheritance: TransactionType
ファイルを表示 Open project: Benrnz/BudgetAnalyser Class Usage Examples

Public Methods

Method Description
GetHashCode ( ) : int

Returns a hash code for this instance.

NamedTransaction ( string name, bool isDebit = false ) : System

Initializes a new instance of the NamedTransaction class.

Method Details

GetHashCode() public method

Returns a hash code for this instance.
public GetHashCode ( ) : int
return int

NamedTransaction() public method

Initializes a new instance of the NamedTransaction class.
public NamedTransaction ( string name, bool isDebit = false ) : System
name string The name.
isDebit bool A boolean value to indicate if this transaction type represents a debit. If true, its a debit, otherwise credit, credit is the default value.
return System