GetItemPrice Method

Gets the customer-agnostic item price from base price or trade agreement.

Namespace:  Microsoft.Dynamics.Commerce.Runtime.Services.PricingEngine
Assembly:  Microsoft.Dynamics.Commerce.Runtime.Services.PricingEngine (in Microsoft.Dynamics.Commerce.Runtime.Services.PricingEngine.dll)

public static decimal GetItemPrice(
	IPricingDataManager pricingDataManager,
	DiscountParameters priceParameters,
	string currencyCode,
	string itemId,
	string unitOfMeasure,
	Variant variant,
	DateTime dateToCheck,
	decimal basePrice
)

Return Value

Type: System.Decimal
Customer-agnostic price for given item/variant/unit.

Community Additions

Show: