C# 클래스 BudgetAnalyser.Engine.Ledger.LedgerEntry

A single entry on a LedgerColumn for a date (which comes from the LedgerEntryLine). This instance can contain one or more LedgerTransactions defining all movements for this BudgetBucket for this date. Possible transactions include budgeted 'saved up for expenses' credited into this LedgerColumn and all statement transactions that are debitted to this budget bucket ledger.
파일 보기 프로젝트 열기: Benrnz/BudgetAnalyser 1 사용 예제들

공개 메소드들

메소드 설명
ToString ( ) : string

Returns a string that represents the current object.

비공개 메소드들

메소드 설명
AddTransaction ( [ newTransaction ) : void

Used for persistence only. Don't use during Reconciliation.

LedgerEntry ( ) : System

Used only by persistence.

LedgerEntry ( bool isNew ) : System

Used when adding a new entry for a new reconciliation.

Lock ( ) : void
RemoveTransaction ( System.Guid transactionId ) : void
SetTransactionsForReconciliation ( List newTransactions, System.DateTime reconciliationDate ) : void

Called by LedgerBook.Reconcile. Sets up this new Entry with transactions. AddTransaction must not be called in conjunction with this. This is used for reconciliation only. Also performs some automated actions: + Transfers to Surplus any remaining amount for Spent Monthly Buckets. + Transfers from Surplus any overdrawn amount for Spent Monthly Buckets.

Unlock ( ) : void
Validate ( System.StringBuilder validationMessages, decimal openingBalance ) : bool

메소드 상세

ToString() 공개 메소드

Returns a string that represents the current object.
public ToString ( ) : string
리턴 string