Ejemplo n.º 1
0
 ///// <summary>
 ///// Constructor of CommValueDetails object
 ///// </summary>
 //internal CommValueBreakupLine(CommValueDetails parentDetails)
 //{
 //    this.Parent = parentDetails;
 //}
 /// <summary>
 /// Constructor of CommValueBreakupLine object
 /// </summary>
 /// <param name="parentDetails">The parent object for the detailed lines</param>
 /// <param name="calcValue">The (total) value calculated</param>
 /// <param name="calcType">The type of commission</param>
 /// <param name="calcInfo">Info on how the commission is calculated</param>
 public CommValueBreakupLine(CommValueDetails parentDetails, Money calcValue, CommValueBreakupType calcType, string calcInfo)
 {
     this.Parent = parentDetails;
     this.CalcValue = calcValue;
     this.CalcType = calcType;
     this.CalcInfo = calcInfo;
 }
Ejemplo n.º 2
0
 /// <summary>
 /// Constructor of CommValueDetails object
 /// </summary>
 /// <param name="calcType">The type of commission</param>
 /// <param name="calcValue">The (total) value calculated</param>
 /// <param name="commCalcInfo">Info on how the commission is calculated</param>
 internal CommValueDetails(CommValueBreakupType calcType, Money calcValue, string calcInfo)
 {
     AddLine(calcType, calcValue, calcInfo);
 }
Ejemplo n.º 3
0
 public void AddLine(CommValueBreakupType calcType, Money calcValue, string calcInfo)
 {
     CommLines.Add(new CommValueBreakupLine(this, calcValue, calcType, calcInfo));
     CalcValue += calcValue;
 }
Ejemplo n.º 4
0
 public void AddLine(CommValueBreakupType calcType, Money calcValue)
 {
     this.AddLine(calcType, calcValue, "");
 }