private decimal GetSummerPrePayPaidFromTierPrePayValue(TierPrePayValue tierPrePayValue, int payPeriodsSegment) { return tierPrePayValue.IncrementalCharge * payPeriodsSegment; }
private decimal GetSummerPrePayBalanceDue(TierPrePayValue tierPrePayValue, decimal amountPaid, decimal amountScheduled) { return tierPrePayValue.PrePayAmount - amountPaid - amountScheduled; }
private decimal GetSummerPrePayPaidForBenefitElectionSegment(BenefitElection election, IEnumerable<PayrollScheduleDetail> payrollScheduleDetails, TierPrePayValue tierPrePayValue) { var payPeriodsForSegment = GetPrePayPeriodsForElectionSegment(election, payrollScheduleDetails); var summerPrePayPaidFromClientDeductionPerPay = payPeriodsForSegment * election.ClientDeductionPerPay; var summerPrePayPaidFromTierPrePayValue = GetSummerPrePayPaidFromTierPrePayValue(tierPrePayValue, payPeriodsForSegment); return summerPrePayPaidFromClientDeductionPerPay + summerPrePayPaidFromTierPrePayValue; }
private decimal GetSummerPrePayAmountScheduled(TierPrePayValue tierPrePayValue, int numPrePayPeriodsRemaining) { return tierPrePayValue.IncrementalCharge * numPrePayPeriodsRemaining; }