Exemple #1
0
        public RqPricingForUpsertRecord Map(PricingContract.RqPricingForUpsert source, int generationId)
        {
            if (source == null)
            {
                throw new ArgumentNullException(nameof(source));
            }

            return(new RqPricingForUpsertRecord
            {
                CompanyId = source.CompanyId,
                EntityId = source.EntityId,
                CatalogItemId = source.CatalogItemId,
                GlobalProductId = source.GlobalProductId,
                PriceSheetId = source.PriceSheetId,
                TermId = source.TermId,
                RegularPrice = source.RegularPrice,
                OverridePrice = source.OverridePrice,
                OverrideStartDateUtc = source.OverrideStartDateUtc,
                OverrideStopDateUtc = source.OverrideStopDateUtc,
                PricingTermName = source.PricingTermName,
                TermLengthInYears = source.TermLengthInYears,
                StartDateUtc = source.StartDateUtc,
                StopDateUtc = source.StopDateUtc,
                TimeStampUtc = source.TimeStampUtc,
                GenerationId = generationId,
            });
        }
Exemple #2
0
 public RqPricingForUpsertRecord Map(PricingContract.RqPricingForUpsert source)
 {
     throw new NotImplementedException();
 }