C# Class BudgetAnalyser.Engine.Ledger.ReconciliationManager

Inheritance: IReconciliationManager
Afficher le fichier Open project: Benrnz/BudgetAnalyser Class Usage Examples

Méthodes publiques

Méthode Description
MonthEndReconciliation ( LedgerBook ledgerBook, System.DateTime reconciliationDate, IBudgetCurrencyContext budgetContext, StatementModel statement, bool ignoreWarnings ) : ReconciliationResult
ReconciliationManager ( [ transactionRuleService, [ reconciliationConsistency, [ logger ) : System
TransferFunds ( TransferFundsCommand transferDetails, LedgerEntryLine ledgerEntryLine ) : void

Performs a funds transfer for the given ledger entry line.

ValidateAgainstOrphanedAutoMatchingTransactions ( LedgerBook ledgerBook, StatementModel statement ) : void

Examines the ledger book's most recent reconciliation looking for transactions waiting to be matched to transactions imported in the current month. If any transactions are found, the statement is then examined to see if the transactions appear, if they do not a new ValidationWarningException is thrown; otherwise the method returns.

Private Methods

Méthode Description
PerformBankTransfer ( TransferFundsCommand transferDetails, LedgerEntryLine ledgerEntryLine ) : void
PreReconciliationValidation ( LedgerBook ledgerBook, System.DateTime reconciliationDate, StatementModel statement ) : void
ShouldValidationExceptionBeRethrown ( bool ignoreWarnings, ValidationWarningException ex ) : bool
ValidateAgainstMissingTransactions ( System.DateTime reconciliationDate, StatementModel statement ) : void
ValidateAgainstUncategorisedTransactions ( System.DateTime startDate, System.DateTime reconciliationDate, StatementModel statement ) : void
ValidateDates ( LedgerBook ledgerBook, System.DateTime startDate, System.DateTime reconciliationDate, StatementModel statement ) : void

Method Details

MonthEndReconciliation() public méthode

public MonthEndReconciliation ( LedgerBook ledgerBook, System.DateTime reconciliationDate, IBudgetCurrencyContext budgetContext, StatementModel statement, bool ignoreWarnings ) : ReconciliationResult
ledgerBook LedgerBook
reconciliationDate System.DateTime
budgetContext IBudgetCurrencyContext
statement BudgetAnalyser.Engine.Statement.StatementModel
ignoreWarnings bool
Résultat ReconciliationResult

ReconciliationManager() public méthode

public ReconciliationManager ( [ transactionRuleService, [ reconciliationConsistency, [ logger ) : System
transactionRuleService [
reconciliationConsistency [
logger [
Résultat System

TransferFunds() public méthode

Performs a funds transfer for the given ledger entry line.
public TransferFunds ( TransferFundsCommand transferDetails, LedgerEntryLine ledgerEntryLine ) : void
transferDetails TransferFundsCommand
ledgerEntryLine LedgerEntryLine
Résultat void

ValidateAgainstOrphanedAutoMatchingTransactions() public méthode

Examines the ledger book's most recent reconciliation looking for transactions waiting to be matched to transactions imported in the current month. If any transactions are found, the statement is then examined to see if the transactions appear, if they do not a new ValidationWarningException is thrown; otherwise the method returns.
public ValidateAgainstOrphanedAutoMatchingTransactions ( LedgerBook ledgerBook, StatementModel statement ) : void
ledgerBook LedgerBook
statement BudgetAnalyser.Engine.Statement.StatementModel
Résultat void