Class AllocationAmount
Inheritance
AllocationAmount
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
Declaration
[RequiredNoDefaultIDValidation]
public Guid AllocationRuleID { get; set; }
Property Value
AllocationRuleID_Label
Declaration
public string AllocationRuleID_Label { get; set; }
Property Value
AllocationRuleID_Label_Silent
Declaration
[NotMapped]
public string AllocationRuleID_Label_Silent { get; set; }
Property Value
Amount
The amount to be used to allocate to this entity
Declaration
[Required]
public decimal Amount { get; set; }
Property Value
AmountB
An alternative amount to be used to allocate to this entity
Declaration
[Required]
public decimal AmountB { get; set; }
Property Value
Description
A user friendly description of this allocation amount.
Declaration
[StringLength(500)]
public string Description { get; set; }
Property Value
DynamicRuleAllocationPathEntityID
Links to IObjectEntity. The entity that this amount is for, and is
allocating from
Declaration
public Guid? DynamicRuleAllocationPathEntityID { get; set; }
Property Value
DynamicRuleAllocationPathEntityID_Label
Declaration
public string DynamicRuleAllocationPathEntityID_Label { get; set; }
Property Value
DynamicRuleAllocationPathEntityID_Label_Silent
Declaration
[NotMapped]
public string DynamicRuleAllocationPathEntityID_Label_Silent { get; set; }
Property Value
DynamicRuleAllocationPathID
Declaration
public Guid? DynamicRuleAllocationPathID { get; set; }
Property Value
DynamicRuleAllocationPathID_Label
Declaration
public string DynamicRuleAllocationPathID_Label { get; set; }
Property Value
DynamicRuleAllocationPathID_Label_Silent
Declaration
[NotMapped]
public string DynamicRuleAllocationPathID_Label_Silent { get; set; }
Property Value
EffectiveDate
The effective date this amount is effective from (will be later for transfers).
Declaration
[RequiredNoDefaultIDValidation]
public DateTimeOffset EffectiveDate { get; set; }
Property Value
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
EntityID_Label
Declaration
public string EntityID_Label { get; set; }
Property Value
EntityID_Label_Silent
Declaration
[NotMapped]
public string EntityID_Label_Silent { get; set; }
Property Value
PathSplitIDType
Declaration
[NotMapped]
public Guid PathSplitIDType { get; set; }
Property Value
PathSplitID_Label
Declaration
[NotMapped]
public string PathSplitID_Label { get; set; }
Property Value
PathSplitID_Label_Silent
Declaration
[NotMapped]
public string PathSplitID_Label_Silent { get; set; }
Property Value
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
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
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
Declaration
[NotMapped]
public string Timing_Tooltip { get; set; }
Property Value
TransferID
Links to ITransfer. Holds the partner transfer record this record is transferring for.
Declaration
public Guid? TransferID { get; set; }
Property Value
TransferID_Label
Declaration
public string TransferID_Label { get; set; }
Property Value
TransferID_Label_Silent
Declaration
[NotMapped]
public string TransferID_Label_Silent { get; set; }
Property Value
TransferedOriginalItemID
Holds the original record that this record is transferring.
Declaration
public Guid? TransferedOriginalItemID { get; set; }
Property Value
Methods
CopyFromEntity(IBaseEntity)
Declaration
protected override void CopyFromEntity(IBaseEntity src)
Parameters
Overrides
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
Extension Methods