Search Results for

    Show / Hide Table of Contents

    Class AllocationAmount

    Inheritance
    object
    BaseEntity
    AllocationAmount
    Implements
    IAllocationAmount
    ICanBeTransferred
    IBaseEntity
    IEquatable<IBaseEntity>
    INotifyPropertyChanged
    INotifyPropertyChanging
    ICloneableAsync
    ICanTrackProperties
    ICloneableAsync<IAllocationAmount>
    Inherited Members
    BaseEntity.HISTORY_ENDROWUPDATE_COLNAME
    BaseEntity.HasTrackedPropertyChanged(string)
    BaseEntity.OriginalTrackedPropertyValue(string)
    BaseEntity.OriginalTrackedPropertyValue<T>(string)
    BaseEntity.ClearTrackedOriginalValues()
    BaseEntity.GetAllOriginalTrackedPropertyValues()
    BaseEntity.GetLabel(string)
    BaseEntity.SetLabel(string, string)
    BaseEntity.SetSilentLabel(string, string)
    BaseEntity.ResetChangedTrackedPropertiesToOriginalValues()
    BaseEntity.AddTrackedOriginalValue(string, object)
    BaseEntity.SnapshotProperties()
    BaseEntity.RestoreFromSnapshot(Dictionary<string, object>)
    BaseEntity.IsBasePropertyName(string)
    BaseEntity.IsBaseRelationshipID(string)
    BaseEntity.OnPropertyChanging(string)
    BaseEntity.OnPropertyChanged(string)
    BaseEntity.Equals(IBaseEntity)
    BaseEntity.GetHashCode()
    BaseEntity.Equals(object)
    BaseEntity.Clone(object)
    BaseEntity.CopyFromSource(object)
    BaseEntity.TrackChanges
    BaseEntity.ModifiedByUserID_Label
    BaseEntity.ModifiedByUserID_Label_Silent
    BaseEntity.CanvasID_Label
    BaseEntity.CanvasID_Label_Silent
    BaseEntity.AlgorithmStepID_Label
    BaseEntity.AlgorithmStepID_Label_Silent
    BaseEntity.SafeID_Label
    BaseEntity.SafeID_Label_Silent
    BaseEntity.AccountID
    BaseEntity.ID
    BaseEntity.LastUpdated
    BaseEntity.ModifiedByUserID
    BaseEntity.CanvasID
    BaseEntity.AlgorithmStepID
    BaseEntity.SafeID
    BaseEntity.PropertyChanged
    BaseEntity.PropertyChanging
    object.GetType()
    object.MemberwiseClone()
    object.ToString()
    object.Equals(object, object)
    object.ReferenceEquals(object, object)
    Namespace: LemonEdge.API.Entities.FinancialServices.Transactions
    Assembly: LemonEdge.API.Entities.FinancialServices.Auto.dll
    Syntax
    [DataContract]
    public class AllocationAmount : BaseEntity, IAllocationAmount, ICanBeTransferred, IBaseEntity, IEquatable<IBaseEntity>, INotifyPropertyChanged, INotifyPropertyChanging, ICloneableAsync, ICanTrackProperties, ICloneableAsync<IAllocationAmount>

    Constructors

    AllocationAmount()

    Declaration
    public AllocationAmount()

    Properties

    AllocationRuleID

    [Key] Links to IAllocationRule. The parent rule this amount belongs to

    Declaration
    [RequiredNoDefaultIDValidation]
    public Guid AllocationRuleID { get; set; }
    Property Value
    Type Description
    Guid

    AllocationRuleID_Label

    Declaration
    public string AllocationRuleID_Label { get; set; }
    Property Value
    Type Description
    string

    AllocationRuleID_Label_Silent

    Declaration
    [NotMapped]
    public string AllocationRuleID_Label_Silent { get; set; }
    Property Value
    Type Description
    string

    Amount

    The amount to be used to allocate to this entity

    Declaration
    [Required]
    public decimal Amount { get; set; }
    Property Value
    Type Description
    decimal

    AmountB

    An alternative amount to be used to allocate to this entity

    Declaration
    [Required]
    public decimal AmountB { get; set; }
    Property Value
    Type Description
    decimal

    Description

    A user friendly description of this allocation amount.

    Declaration
    [StringLength(500)]
    public string Description { get; set; }
    Property Value
    Type Description
    string

    DynamicRuleAllocationPathEntityID

    Links to IObjectEntity. The entity that this amount is for, and is allocating from

    Declaration
    public Guid? DynamicRuleAllocationPathEntityID { get; set; }
    Property Value
    Type Description
    Guid?

    DynamicRuleAllocationPathEntityID_Label

    Declaration
    public string DynamicRuleAllocationPathEntityID_Label { get; set; }
    Property Value
    Type Description
    string

    DynamicRuleAllocationPathEntityID_Label_Silent

    Declaration
    [NotMapped]
    public string DynamicRuleAllocationPathEntityID_Label_Silent { get; set; }
    Property Value
    Type Description
    string

    DynamicRuleAllocationPathID

    Links to IAllocationPath. The path this amount is for

    Declaration
    public Guid? DynamicRuleAllocationPathID { get; set; }
    Property Value
    Type Description
    Guid?

    DynamicRuleAllocationPathID_Label

    Declaration
    public string DynamicRuleAllocationPathID_Label { get; set; }
    Property Value
    Type Description
    string

    DynamicRuleAllocationPathID_Label_Silent

    Declaration
    [NotMapped]
    public string DynamicRuleAllocationPathID_Label_Silent { get; set; }
    Property Value
    Type Description
    string

    EffectiveDate

    The effective date this amount is effective from (will be later for transfers).

    Declaration
    [RequiredNoDefaultIDValidation]
    public DateTimeOffset EffectiveDate { get; set; }
    Property Value
    Type Description
    DateTimeOffset

    EntityID

    Links to IObjectEntity. The ultimate owning entity through allocation paths/rules that is being transferred

    Declaration
    [RequiredNoDefaultIDValidation]
    public Guid EntityID { get; set; }
    Property Value
    Type Description
    Guid

    EntityID_Label

    Declaration
    public string EntityID_Label { get; set; }
    Property Value
    Type Description
    string

    EntityID_Label_Silent

    Declaration
    [NotMapped]
    public string EntityID_Label_Silent { get; set; }
    Property Value
    Type Description
    string

    PathSplitIDType

    Declaration
    [NotMapped]
    public Guid PathSplitIDType { get; set; }
    Property Value
    Type Description
    Guid

    PathSplitID_Label

    Declaration
    [NotMapped]
    public string PathSplitID_Label { get; set; }
    Property Value
    Type Description
    string

    PathSplitID_Label_Silent

    Declaration
    [NotMapped]
    public string PathSplitID_Label_Silent { get; set; }
    Property Value
    Type Description
    string

    PathSplitId

    The id of property that is setup in IAllocationPath - SplitByProperty used to create this allocation amount

    Declaration
    public Guid? PathSplitId { get; set; }
    Property Value
    Type Description
    Guid?

    StepChangeDate

    Indicate the amount on this date is a step change to the overall amount and should be calculated as such.

    Declaration
    public DateTimeOffset? StepChangeDate { get; set; }
    Property Value
    Type Description
    DateTimeOffset?

    Timing

    Indicates if the allocation amount is effective from the start or end of day.

    Declaration
    [Required]
    [EnumDataType(typeof(AllocationTiming))]
    public AllocationTiming Timing { get; set; }
    Property Value
    Type Description
    AllocationTiming

    Timing_Tooltip

    Declaration
    [NotMapped]
    public string Timing_Tooltip { get; set; }
    Property Value
    Type Description
    string

    TransferID

    Links to ITransfer. Holds the partner transfer record this record is transferring for.

    Declaration
    public Guid? TransferID { get; set; }
    Property Value
    Type Description
    Guid?

    TransferID_Label

    Declaration
    public string TransferID_Label { get; set; }
    Property Value
    Type Description
    string

    TransferID_Label_Silent

    Declaration
    [NotMapped]
    public string TransferID_Label_Silent { get; set; }
    Property Value
    Type Description
    string

    TransferedOriginalItemID

    Holds the original record that this record is transferring.

    Declaration
    public Guid? TransferedOriginalItemID { get; set; }
    Property Value
    Type Description
    Guid?

    Methods

    CopyFromEntity(IBaseEntity)

    Declaration
    protected override void CopyFromEntity(IBaseEntity src)
    Parameters
    Type Name Description
    IBaseEntity src
    Overrides
    BaseEntity.CopyFromEntity(IBaseEntity)

    CopyFromSource(IAllocationAmount)

    Updates all properties in this item to have the same properties as the source object.

    Declaration
    public void CopyFromSource(IAllocationAmount source)
    Parameters
    Type Name Description
    IAllocationAmount source

    The source object to copy all values from.

    Implements

    IAllocationAmount
    ICanBeTransferred
    IBaseEntity
    IEquatable<T>
    INotifyPropertyChanged
    INotifyPropertyChanging
    ICloneableAsync
    ICanTrackProperties
    ICloneableAsync<T>

    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.