Пример #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,
            });
        }
Пример #2
0
 public RqPricingForUpsertRecord Map(PricingContract.RqPricingForUpsert source)
 {
     throw new NotImplementedException();
 }