Class TransactionExtender
Inherited Members
Namespace: LemonEdge.API.Core.FinancialServices.Descriptors.Extenders
Assembly: LemonEdge.API.Core.FinancialServices.dll
Syntax
public class TransactionExtender : EntityDescriptorTemplateExtender
Constructors
TransactionExtender()
Declaration
public TransactionExtender()
Properties
ForDescriptor
The entity that this template extender is for
Declaration
public override EntityDescriptor ForDescriptor { get; }
Property Value
| Type | Description |
|---|---|
| EntityDescriptor |
Overrides
Methods
FunctionCall(long)
Returns the function to call for retrieving this entity data
Declaration
protected override string FunctionCall(long accountID)
Parameters
| Type | Name | Description |
|---|---|---|
| long | accountID | The account id currently running |
Returns
| Type | Description |
|---|---|
| string | The function to call for retrieving this entity data |
Overrides
GetImportDefinition(IReadOnlyCache)
Returns a list of all entity import column definitions for this entity to use instead of the default system ones
Declaration
public override Task<IEnumerable<EntityImportColDefinition>> GetImportDefinition(IReadOnlyCache cache)
Parameters
| Type | Name | Description |
|---|---|---|
| IReadOnlyCache | cache | A local cache |
Returns
| Type | Description |
|---|---|
| Task<IEnumerable<EntityImportColDefinition>> | A list of all entity import column definitions for this entity to use instead of the default system ones |
Overrides
GetImportExtender(params object[])
Returns a new instance of a import extender which is used by the import process for actually retrieving and updating the properties values defined in GetImportDefinition(IReadOnlyCache)
Declaration
public override IEntityDescriptorImportExtender GetImportExtender(params object[] args)
Parameters
| Type | Name | Description |
|---|---|---|
| object[] | args |
Returns
| Type | Description |
|---|---|
| IEntityDescriptorImportExtender |