Search Results for

    Show / Hide Table of Contents

    Class TransactionAllocatedTransferProcessorExtender

    The transfer extender responsible for transferring all ITransactionAllocated and IGLPostingAllocated records

    Inheritance
    object
    TransferProcessorExtender
    TransactionAllocatedTransferProcessorExtender
    Inherited Members
    TransferProcessorExtender.Validate()
    TransferProcessorExtender.ProcessCancel(ITransactionalEntity, bool)
    TransferProcessorExtender.ProcessCorrect(ITransactionalEntity)
    TransferProcessorExtender.Processor
    object.GetType()
    object.MemberwiseClone()
    object.ToString()
    object.Equals(object)
    object.Equals(object, object)
    object.ReferenceEquals(object, object)
    object.GetHashCode()
    Namespace: LemonEdge.API.Core.FinancialServices.Processors.Transactional
    Assembly: LemonEdge.API.Core.FinancialServices.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
    (EntityDescriptor Descriptor, short Order)[]
    Overrides
    TransferProcessorExtender.ProcessesTransferTypes

    Methods

    CustomUpdateCancelCorrectedItem(EntityDescriptor, ITransactionalEntity, ITransactionalEntity, bool, IReadOnlyDictionary<Guid, (ITransactionalEntity Original, ITransactionalEntity Cancelling)>, IReadOnlyDictionary<Guid, ITransactionalEntity>)

    Declaration
    public override Task CustomUpdateCancelCorrectedItem(EntityDescriptor type, ITransactionalEntity original, ITransactionalEntity cancelCorrected, bool isCorrectionRecord, IReadOnlyDictionary<Guid, (ITransactionalEntity Original, ITransactionalEntity Cancelling)> cancelledEntities, IReadOnlyDictionary<Guid, ITransactionalEntity> correctedEntities)
    Parameters
    Type Name Description
    EntityDescriptor type
    ITransactionalEntity original
    ITransactionalEntity cancelCorrected
    bool isCorrectionRecord
    IReadOnlyDictionary<Guid, (ITransactionalEntity Original, ITransactionalEntity Cancelling)> cancelledEntities
    IReadOnlyDictionary<Guid, ITransactionalEntity> correctedEntities
    Returns
    Type Description
    Task
    Overrides
    TransferProcessorExtender.CustomUpdateCancelCorrectedItem(EntityDescriptor, ITransactionalEntity, ITransactionalEntity, bool, IReadOnlyDictionary<Guid, (ITransactionalEntity Original, ITransactionalEntity Cancelling)>, IReadOnlyDictionary<Guid, ITransactionalEntity>)

    GetExtraItemsInThisProcessor()

    Declaration
    public override IEnumerable<IBaseEntity> GetExtraItemsInThisProcessor()
    Returns
    Type Description
    IEnumerable<IBaseEntity>
    Overrides
    TransferProcessorExtender.GetExtraItemsInThisProcessor()

    Init()

    Initializes this transfer processor extender by loading all transaction type values that could be transferred

    Declaration
    public override Task Init()
    Returns
    Type Description
    Task

    A task indicating the completion of this operation

    Overrides
    TransferProcessorExtender.Init()

    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.

    DateTimeOffset startDate

    The TransactionDate of the ITransfer

    DateTimeOffset endDate

    The TransferCapitalUpToDate

    AllocationTiming timing

    The Timing

    Returns
    Type Description
    Task

    A task indicating the completion of the operation

    Overrides
    TransferProcessorExtender.ProcessItemsToTransfer(EntityDescriptor, DateTimeOffset, DateTimeOffset, AllocationTiming)

    Extension Methods

    LinqExtensions.AsArray<T>(T)
    LinqExtensions.ToArrayOfOne<T>(T)
    LinqExtensions.ToListOfOne<T>(T)
    MiscExtensions.SetIfNotEqual<T, TP>(T, Expression<Func<T, TP>>, TP)
    WeakReferenceExtensions.WeakReference(object)
    SQLExtensions.ToSQLValue(object, bool)
    ReflectionExtensions.ClearEventInvocations(object, string)
    StringExtensions.ToCSVFormatString(object, Type)

    See Also

    ITransfer
    ITransferProcessor
    In this article
    Back to top © LemonEdge Technologies. All rights reserved.