Beispiel #1
0
 public ProviderAdjustmentPaymentGrouping(ProviderAdjustment adjustment)
 {
     Ukprn           = adjustment.Ukprn;
     PaymentType     = adjustment.PaymentType;
     Period          = adjustment.SubmissionCollectionPeriod;
     SubmissionId    = adjustment.SubmissionId;
     PaymentTypeName = adjustment.PaymentTypeName;
 }
Beispiel #2
0
        private static ProviderAdjustment CreatePayment(ProviderAdjustmentPaymentGrouping source, decimal amount)
        {
            var payment = new ProviderAdjustment
            {
                Amount                     = amount,
                PaymentType                = source.PaymentType,
                Ukprn                      = source.Ukprn,
                PaymentTypeName            = source.PaymentTypeName,
                SubmissionCollectionPeriod = source.Period,
                SubmissionId               = source.SubmissionId,
            };

            return(payment);
        }
        private ProviderAdjustment CreatePayment(ProviderAdjustmentPaymentGrouping source, decimal amount)
        {
            var payment = new ProviderAdjustment
            {
                Amount                     = amount,
                PaymentType                = source.PaymentType,
                Ukprn                      = source.Ukprn,
                PaymentTypeName            = source.PaymentTypeName,
                SubmissionCollectionPeriod = source.Period,
                SubmissionId               = source.SubmissionId,
                CollectionPeriodMonth      = collectionPeriodMonth,
                CollectionPeriodYear       = collectionPeriodYear,
                CollectionPeriodName       = collectionPeriodName,
                SubmissionAcademicYear     = submissionAcademicYear
            };

            return(payment);
        }