Search Results for

    Show / Hide Table of Contents

    Class TransactionPathProvider

    Calculates AllocationPath for a Transaction depending on TransactionCodePath and AllocationMapping

    Inheritance
    object
    TransactionPathProvider
    Implements
    ITransactionPathProvider
    Inherited Members
    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 TransactionPathProvider : ITransactionPathProvider

    Constructors

    TransactionPathProvider(IEntityUpdater, ITransactionCodesProvider, IAllocationMappingProvider)

    Declaration
    public TransactionPathProvider(IEntityUpdater updater, ITransactionCodesProvider transactionCodesProvider, IAllocationMappingProvider allocationMappingProvider)
    Parameters
    Type Name Description
    IEntityUpdater updater
    ITransactionCodesProvider transactionCodesProvider
    IAllocationMappingProvider allocationMappingProvider

    Methods

    GetTransactionPath(ITransaction)

    Gets allocation path for a transaction. Depending on TransactionCodePath the value is either calculated using AllocationMappingProvider - for values None and AutoFromInstrument Or null for Manual

    Declaration
    public (Guid? AllocationPathID, string Label, DateTimeOffset? OverrideAllocationDate) GetTransactionPath(ITransaction tran)
    Parameters
    Type Name Description
    ITransaction tran
    Returns
    Type Description
    (Guid? AllocationPathID, string Label, DateTimeOffset? OverrideAllocationDate)
    Exceptions
    Type Condition
    ArgumentOutOfRangeException

    Init()

    Declaration
    public Task Init()
    Returns
    Type Description
    Task

    Implements

    ITransactionPathProvider

    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)
    In this article
    Back to top © LemonEdge Technologies. All rights reserved.