Class TransactionAllocatedTransferProcessorExtender
The transfer extender responsible for transferring all ITransactionAllocated and IGLPostingAllocated records
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: LemonEdge.Entities.Processors.Transactional
Assembly: API.dll
Syntax
public class TransactionAllocatedTransferProcessorExtender : TransferProcessorExtender
Constructors
TransactionAllocatedTransferProcessorExtender(ITransferProcessor)
Declaration
public TransactionAllocatedTransferProcessorExtender(ITransferProcessor processor)
Parameters
| Type | Name | Description |
|---|---|---|
| ITransferProcessor | processor |
Properties
ProcessesTransferTypes
Processes ITransactionAllocated and IGLPostingAllocated records in that order
Declaration
public override (EntityDescriptor Descriptor, short Order)[] ProcessesTransferTypes { get; }
Property Value
| Type | Description |
|---|---|
| System.ValueTuple<EntityDescriptor, System.Int16>[] |
Overrides
Methods
Init()
Initializes this transfer processor extender by loading all transaction type values that could be transferred
Declaration
public override Task Init()
Returns
| Type | Description |
|---|---|
| System.Threading.Tasks.Task | A task indicating the completion of this operation |
Overrides
ProcessItemsToTransfer(EntityDescriptor, DateTimeOffset, DateTimeOffset, AllocationTiming)
Transfers all ITransactionAllocated, or IGLPostingAllocated, records in the system that match the specifed parameters for the parent ITransferProcessor
Declaration
public override Task ProcessItemsToTransfer(EntityDescriptor itemType, DateTimeOffset startDate, DateTimeOffset endDate, AllocationTiming timing)
Parameters
| Type | Name | Description |
|---|---|---|
| EntityDescriptor | itemType | The type of entity to transfer. Either ITransactionAllocated, or IGLPostingAllocated. |
| System.DateTimeOffset | startDate | The TransactionDate of the ITransfer |
| System.DateTimeOffset | endDate | |
| AllocationTiming | timing | The Timing |
Returns
| Type | Description |
|---|---|
| System.Threading.Tasks.Task | A task indicating the completion of the operation |