C# Класс BudgetAnalyser.Engine.Ledger.ReconciliationManager

Наследование: IReconciliationManager
Показать файл Открыть проект Примеры использования класса

Открытые методы

Метод Описание
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.

Приватные методы

Метод Описание
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

Описание методов

MonthEndReconciliation() публичный Метод

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
Результат ReconciliationResult

ReconciliationManager() публичный Метод

public ReconciliationManager ( [ transactionRuleService, [ reconciliationConsistency, [ logger ) : System
transactionRuleService [
reconciliationConsistency [
logger [
Результат System

TransferFunds() публичный Метод

Performs a funds transfer for the given ledger entry line.
public TransferFunds ( TransferFundsCommand transferDetails, LedgerEntryLine ledgerEntryLine ) : void
transferDetails TransferFundsCommand
ledgerEntryLine LedgerEntryLine
Результат void

ValidateAgainstOrphanedAutoMatchingTransactions() публичный Метод

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
Результат void