Class TransactionProcessorExtender
All transactions can have a custom processor for propietary algorithms. These extenders are configured against transaction codes using ITransactionCodeProcessor
Implementing this class makes this custom transaction process available for use within the configuration of a ITransactionCode behaviour
See https://help.lemonedge.com/transactions/ for more informationInherited Members
Namespace: LemonEdge.API.Processors.Transactional
Assembly: API.dll
Syntax
public abstract class TransactionProcessorExtender
Constructors
TransactionProcessorExtender(ITransactionProcessor)
Creates an instance of this Transaction Process Extender with the specified processor as the parent it will run its algorithm against
Declaration
public TransactionProcessorExtender(ITransactionProcessor processor)
Parameters
| Type | Name | Description |
|---|---|---|
| ITransactionProcessor | processor | The transaction processor this extender can run an algorithm against |
Properties
Processor
The transaction processor this extender can run an algorithm against
Declaration
public ITransactionProcessor Processor { get; }
Property Value
| Type | Description |
|---|---|
| ITransactionProcessor |
Methods
OnPropertyChanged(IBaseEntity, String)
Notifies this extender that a property has changed against the transaction and provides this implementation an ability to react to it and update appropriate other values
Declaration
public abstract Task OnPropertyChanged(IBaseEntity item, string propName)
Parameters
| Type | Name | Description |
|---|---|---|
| IBaseEntity | item | The item against the transaction that has changed, ITransaction, ITransactionAllocated, IGLPosting, or IGLPostingAllocated |
| System.String | propName | The name of the property against the item that changed |
Returns
| Type | Description |
|---|---|
| System.Threading.Tasks.Task | A task indicating the completion of the operation |