You are here: Symbol Reference
Symbol Reference
> Ofcas.Lk.Api.Client.Core Namespace > Classes > ElementPricelist Class > ElementPricelist Methods > ElementPricelist.Calculate Method
Close
Ofcas.Lk.Api.Client - Version 3.0
ElementPricelist.Calculate Method

Calculates the element pricelist based on the selection xml and the parameters.

Syntax
C#
public CalculatedElementPricelist Calculate(Stream selectionXmlStream, Dictionary<string, object> parameters);
Parameters
Description
Stream selectionXmlStream
The selection xml of the element pricelist as a Stream.
Dictionary<string, object> parameters
The parameters to define the calculated element pricelist. See WellKnownParameterKeys.ElementPricelist.Calculation for details about the keys.

Returns a CalculatedElementPricelist containing the prices and a thumbnail.

Copyright © 2020. All rights reserved.