Search Results for

    Show / Hide Table of Contents

    Class GetTransactionAllocationsForEntities

    Returns a set of ITransactionAllocated entities that are for the specified EntityID, not included in the specified transfer, and less than the specified date

    The EntityID for the parent transaction includes or excludes the specified entities too

    Used for TransactionAllocatedTransferProcessorExtender, and can be called using ExecuteCustomQuery<T>(string, params object[]).
    Inheritance
    object
    CustomServiceQueryExtender<ITransactionAllocated>
    GetTransactionAllocationsForEntities
    Inherited Members
    CustomServiceQueryExtender<ITransactionAllocated>.Helper
    CustomServiceQueryExtender<ITransactionAllocated>.BaseItems
    CustomServiceQueryExtender<ITransactionAllocated>.BaseItemsForType
    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.CustomQueries
    Assembly: LemonEdge.API.Core.FinancialServices.dll
    Syntax
    public class GetTransactionAllocationsForEntities : CustomServiceQueryExtender<ITransactionAllocated>

    Constructors

    GetTransactionAllocationsForEntities()

    Declaration
    public GetTransactionAllocationsForEntities()

    Methods

    GetTransactionAllocatedAmountsForEntities(Guid, DateTimeOffset, AllocationTiming, Guid[], Guid[], Guid[], Guid[], Guid, bool)

    Returns a set of ITransactionAllocated entities that are for the specified EntityID, not included in the specified transfer, and less than the specified date

    Declaration
    public IQueryable<ITransactionAllocated> GetTransactionAllocatedAmountsForEntities(Guid transferID, DateTimeOffset endDate, AllocationTiming timing, Guid[] includeEntityIDs, Guid[] excludeEntityIDs, Guid[] includeTransTypeIDs, Guid[] excludeTransTypeIDs, Guid forAllocatedEntityID, bool includeCommitted)
    Parameters
    Type Name Description
    Guid transferID

    The transfer id to make sure the transaction amounts are not associated with

    DateTimeOffset endDate

    The end date to make sure all matching allocation amounts have an effective date less than

    AllocationTiming timing

    If EndOfDay then the EffectiveDate must be less than or equal to endDate, otherwise just less than the end date.

    Guid[] includeEntityIDs

    Specifies a set of entities that the parent transaction ( EntityID) of the returned amounts must be against.

    Guid[] excludeEntityIDs

    Specifies a set of entities that the parent transaction ( EntityID) of the returned amounts must not be against.

    Guid[] includeTransTypeIDs

    Specifies a set of transaction types that the parent transaction ( EntityID) of the returned amounts must contain values of.

    Guid[] excludeTransTypeIDs

    Specifies a set of transaction types that the parent transaction ( EntityID) of the returned amounts must not contain values of.

    Guid forAllocatedEntityID

    Specifies the entity id the transaction amounts must be for

    bool includeCommitted
    Returns
    Type Description
    IQueryable<ITransactionAllocated>

    A set of ITransactionAllocated entities that are for the specified EntityID, not included in the specified transfer, and less than the specified date

    Init()

    Initializes the query extender by loading all ITransactionTypeValue from the cache

    Declaration
    public override Task Init()
    Returns
    Type Description
    Task

    A task indicating the completion of the operation

    Overrides
    LemonEdge.API.Core.Data.CustomServiceQueryExtender<LemonEdge.API.Entities.FinancialServices.Transactions.ITransactionAllocated>.Init()

    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

    CustomServiceQueryExtender<T>
    In this article
    Back to top © LemonEdge Technologies. All rights reserved.