Class TransactionMatcher
A helper class for converting a ITransactionMatcher into an equivelant QueryableFilter
Inherited Members
Namespace: LemonEdge.API.Core.FinancialServices.Helpers
Assembly: LemonEdge.API.Core.FinancialServices.dll
Syntax
public class TransactionMatcher
Constructors
TransactionMatcher(ITransactionMatcher)
Creates a new transaction matcher helper for the specified transaction matcher
Declaration
public TransactionMatcher(ITransactionMatcher matcher)
Parameters
Type | Name | Description |
---|---|---|
ITransactionMatcher | matcher | The transaction matcher to load |
Properties
MatchOn
A list of all transaction matcher on records for this Matcher.
Only available once loaded
Declaration
public IEnumerable<ITransactionMatcherOn> MatchOn { get; }
Property Value
Type | Description |
---|---|
IEnumerable<ITransactionMatcherOn> |
Matcher
The transaction matcher this helper class works with
Declaration
public ITransactionMatcher Matcher { get; }
Property Value
Type | Description |
---|---|
ITransactionMatcher |
Methods
GetFilter()
Converts the transaction matcher and its records for matching on items into an equivelant QueryableFilter
Declaration
public QueryableFilter GetFilter()
Returns
Type | Description |
---|---|
QueryableFilter | An equivelant QueryableFilter for the transaction matcher and its records for matching on items |
Load(IReadOnlyCache)
Loads the definition of the transaction matcher using the specified context
Declaration
public Task Load(IReadOnlyCache cache)
Parameters
Type | Name | Description |
---|---|---|
IReadOnlyCache | cache |
Returns
Type | Description |
---|---|
Task | A task indicating the completion of this operation |