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

A Ledger Bucket that does not allow funds to accumulate at the end of the month. Any excess funds if not spent, will be transfered to Surplus.
상속: LedgerBucket
파일 보기 프로젝트 열기: Benrnz/BudgetAnalyser 1 사용 예제들

공개 메소드들

메소드 설명
ApplyReconciliationBehaviour ( IList transactions, System.DateTime reconciliationDate, decimal openingBalance ) : void

Allows ledger bucket specific behaviour during reconciliation.

보호된 메소드들

메소드 설명
ValidateBucketSet ( BudgetBucket bucket ) : void

Validates the bucket provided is valid for use with this LedgerBucket. There is an explicit relationship between BudgetBuckets and LedgerBuckets.

비공개 메소드들

메소드 설명
RemoveExcessToBudgetAmount ( decimal closingBalance, System.DateTime reconciliationDate, decimal budgetAmount ) : LedgerTransaction
RemoveExcessToOpeningBalance ( decimal closingBalance, System.DateTime reconciliationDate, decimal openingBalance ) : LedgerTransaction
SupplementToBudgetAmount ( decimal closingBalance, System.DateTime reconciliationDate, decimal budgetAmount ) : LedgerTransaction
SupplementToOpeningBalance ( decimal closingBalance, System.DateTime reconciliationDate, decimal openingBalance ) : LedgerTransaction
SupplementToZero ( decimal closingBalance, System.DateTime reconciliationDate ) : CreditLedgerTransaction

메소드 상세

ApplyReconciliationBehaviour() 공개 메소드

Allows ledger bucket specific behaviour during reconciliation.
public ApplyReconciliationBehaviour ( IList transactions, System.DateTime reconciliationDate, decimal openingBalance ) : void
transactions IList
reconciliationDate System.DateTime
openingBalance decimal
리턴 void

ValidateBucketSet() 보호된 메소드

Validates the bucket provided is valid for use with this LedgerBucket. There is an explicit relationship between BudgetBuckets and LedgerBuckets.
/// Invalid budget bucket used, only Spent-Monthly-Expense-Bucket can be /// used with an instance of Spent-Monthly-Ledger. ///
protected ValidateBucketSet ( BudgetBucket bucket ) : void
bucket BudgetAnalyser.Engine.Budget.BudgetBucket
리턴 void