Class TransactionProcessorExtenderFactory
A factory class for creating extenders for processing with ITransactionProcessor
See https://help.lemonedge.com/transactions/ for more information
Inherited Members
Namespace: LemonEdge.API.Core.FinancialServices.Processors.Transactional
Assembly: LemonEdge.API.Core.FinancialServices.dll
Syntax
public static class TransactionProcessorExtenderFactory
Properties
Extenders
Returns a list of information about all the transaction processor extenders currently loaded in the system
Declaration
public static IEnumerable<(string Name, string Description, string Key)> Extenders { get; }
Property Value
Type | Description |
---|---|
IEnumerable<(string Name, string Description, string Key)> |
Methods
CreateExtender(string, ITransactionProcessor)
Returns a new instance of the specified transaction processor extender
Declaration
public static TransactionProcessorExtender CreateExtender(string extenderKey, ITransactionProcessor forProcessor)
Parameters
Type | Name | Description |
---|---|---|
string | extenderKey | The globally unique key of the transaction processor extender to use |
ITransactionProcessor | forProcessor | The current transaction processor for this extender algorithm to run against |
Returns
Type | Description |
---|---|
TransactionProcessorExtender | A new instance of the specified TransactionProcessorExtender |
HasExtender(string)
Returns true if the system has a TransactionProcessorExtender with the specified key
Declaration
public static bool HasExtender(string key)
Parameters
Type | Name | Description |
---|---|---|
string | key | The globally unique key (Key) of a Transaction Processor Extender |
Returns
Type | Description |
---|---|
bool | True if the system has a TransactionProcessorExtender with the specified key |