Interface ICanBeRevertedTransactionProcessor
Indicates this processor for transactional items enables the user to revert the transaction from finalized back to in progress
Inherited Members
Namespace: LemonEdge.API.Core.FinancialServices.Processors.Transactional
Assembly: LemonEdge.API.Core.FinancialServices.dll
Syntax
public interface ICanBeRevertedTransactionProcessor : IBaseDataSetProcessorWithDBSave, IBaseDataSetProcessor, IProcessor, IDisposable
Methods
GetAllItemsInTransactionProcessor(bool)
Returns all items in this processor, and sub processors so the system can automatically reset all their statuses back to in progress
Declaration
IEnumerable<IBaseEntity> GetAllItemsInTransactionProcessor(bool includeSubProcessors)
Parameters
Type | Name | Description |
---|---|---|
bool | includeSubProcessors | Indicates if the items from any sub processors should also be included or not |
Returns
Type | Description |
---|---|
IEnumerable<IBaseEntity> | A list of all the items belonging to the transaction processor |
LoadForRevertion()
Loads all the items in the processor so all their statuses can be reset back to in progress
Declaration
Task LoadForRevertion()
Returns
Type | Description |
---|---|
Task | A task indicating the completion of the operation |