Class StepChangeDynamicPathHandler
Perhaps this is something that transaction/split transaction should implement, but not obvious how
for now logic explicitly held with step change processor
When running a step change process the system equalizes (as a first step) all prior capital (portfolio is auto handled through path updates) transactions.
Any transaction that has a path that is dynamic means the step change to date must be saved to the database, and the dynamic path updated if
Inheritance
StepChangeDynamicPathHandler
Assembly: LemonEdge.API.Core.FinancialServices.dll
Syntax
public class StepChangeDynamicPathHandler
Constructors
StepChangeDynamicPathHandler(StepChangeProcessor, IPathSplitIdProvider, IRuleAmountUpdaterFactory)
Declaration
public StepChangeDynamicPathHandler(StepChangeProcessor processor, IPathSplitIdProvider pathSplitProvider, IRuleAmountUpdaterFactory ruleAmountUpdaterFactory)
Parameters
Methods
GetPathsThatNeedUpdating(SplitTransactionProcessor)
Declaration
public Task<IEnumerable<Guid>> GetPathsThatNeedUpdating(SplitTransactionProcessor splitTransaction)
Parameters
Returns
GetPathsThatNeedUpdating(IEnumerable<ITransaction>)
Declaration
public Task<IEnumerable<Guid>> GetPathsThatNeedUpdating(IEnumerable<ITransaction> transactions)
Parameters
Returns
UpdatePaths(ITransaction, IEnumerable<Guid>)
Declaration
public Task<bool> UpdatePaths(ITransaction transaction, IEnumerable<Guid> paths)
Parameters
Returns
Extension Methods