Search Results for

    Show / Hide Table of Contents

    Class TransactionValueDetailExtensions

    A helper class used for translating values held against an ITransactionAssociation

    This is because transactions and transaction associations records store their values in different value fields depending on the configuration of the ITransactionCode

    Inheritance
    object
    TransactionValueDetailExtensions
    Inherited Members
    object.GetType()
    object.MemberwiseClone()
    object.ToString()
    object.Equals(object)
    object.Equals(object, object)
    object.ReferenceEquals(object, object)
    object.GetHashCode()
    Namespace: LemonEdge.API.Entities.FinancialServices.Transactions.Helpers
    Assembly: LemonEdge.API.Entities.FinancialServices.dll
    Syntax
    public static class TransactionValueDetailExtensions

    Methods

    GetLocalValue(ITransactionValueDetail, short)

    Returns the local value for the specified transaction allocated record given the specified sequence which corresponds to a Sequence

    Declaration
    public static decimal GetLocalValue(this ITransactionValueDetail transaction, short sequence)
    Parameters
    Type Name Description
    ITransactionValueDetail transaction

    The record to return the specified local value from

    short sequence

    The sequence indicating the value to be retrieved as defined by the Sequence against the transactions transaction code

    Returns
    Type Description
    decimal

    The local value for the specified transaction allocated record given the specified sequence which corresponds to a Sequence

    GetNote(ITransactionValueDetail, short)

    Returns the note for the specified transaction allocated record given the specified sequence which corresponds to a Sequence

    Declaration
    public static string GetNote(this ITransactionValueDetail transaction, short sequence)
    Parameters
    Type Name Description
    ITransactionValueDetail transaction

    The record to return the specified functional value from

    short sequence

    The sequence indicating the value to be retrieved as defined by the Sequence against the transactions transaction code

    Returns
    Type Description
    string

    The functional value for the specified transaction allocated record given the specified sequence which corresponds to a Sequence

    SetLocalValue(ITransactionValueDetail, short, decimal)

    Sets the local value for the specified transaction allocated record given the specified sequence which corresponds to a Sequence

    Declaration
    public static void SetLocalValue(this ITransactionValueDetail transaction, short sequence, decimal value)
    Parameters
    Type Name Description
    ITransactionValueDetail transaction

    The record to modify the specified local value of

    short sequence

    The sequence indicating the value to be updated as defined by the Sequence against the transactions transaction code

    decimal value

    The value to update the local value against the transaction allocated record with

    SetNote(ITransactionValueDetail, short, string)

    Sets the note for the specified transaction allocated record given the specified sequence which corresponds to a Sequence

    Declaration
    public static void SetNote(this ITransactionValueDetail transaction, short sequence, string note)
    Parameters
    Type Name Description
    ITransactionValueDetail transaction

    The record to modify the specified functional value of

    short sequence

    The sequence indicating the value to be updated as defined by the Sequence against the transactions transaction code

    string note

    The value to update the functional value against the transaction allocated record with

    See Also

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