public static void SetPaymentCalculationPeriodCalculationPeriodArray(PaymentCalculationPeriod paymentCalculationPeriod, CalculationPeriod[] value)
 {
     paymentCalculationPeriod.Items = value;
 }
 public static decimal[] GetPaymentCalculationPeriodFixedPaymentAmountArray(PaymentCalculationPeriod paymentCalculationPeriod)
 {
     return(paymentCalculationPeriod.Items.Select(item => (decimal)item).ToArray());
 }
 public static CalculationPeriod[] GetPaymentCalculationPeriodCalculationPeriodArray(PaymentCalculationPeriod paymentCalculationPeriod)
 {
     return(paymentCalculationPeriod.Items.Cast <CalculationPeriod>().ToArray());
 }