PricingEngine Methods

Important

This content is archived and is not being updated. For the latest documentation, see Microsoft Dynamics 365 product documentation. For the latest release plans, see Dynamics 365 and Microsoft Power Platform release plans.

The PricingEngine type exposes the following members.

Methods

  Name Description
Public method Static member CalculateDiscountsForLines
Public method Static member CalculatePricesForSalesLines This method will calculate the prices for each of the given item lines within the given price context.
Public method Static member CalculatePricesForTransaction
Public method Static member GetAllPeriodicDiscountsForLines
Public method Static member IsPromoPeriodValid Computes the validity of a promotion period. If it's an advanced period, looks up the validation period by Id and tests it.

Top

See Also

Reference

PricingEngine Class

Microsoft.Dynamics.Commerce.Runtime.Services.PricingEngine Namespace