public FundingSourcePayment CalculatePaymentAmount(decimal amount)
 {
     return(new SfaCoInvestedPayment()
     {
         Type = FundingSourceType.FullyFundedSfa,
         AmountDue = amount.AsRounded()
     });
 }
 public static void AddPeriodValue(this List <EarningPeriod> earningPeriods, decimal?periodValue, byte period, string priceEpisodeIdentifier, decimal?sfaContributionPercentage = null)
 {
     earningPeriods.Add(new EarningPeriod
     {
         Period = period,
         PriceEpisodeIdentifier = priceEpisodeIdentifier,
         Amount = periodValue?.AsRounded() ?? 0,
         SfaContributionPercentage = sfaContributionPercentage,
     });
 }