out:Price
A price for a product. To calculate the final price of a product or option, use: Quantity * (Base + (PageCount - MinPageCount) * PerExtraPage). To obtain the final price of an item, first sum all product and option prices, calculated as described. If you're using ProductionSpeed.Express, calculate the added cost (e.g. 7%) over the result, round it to 2 decimals and add it. Lastly, if a quantity discount applies, calculate the discount (e.g. 10%) over the result, round it to 2 decimals and subtract it.
Property | Description | Type | Details |
---|---|---|---|
Base | The starting cost. | decimal number | - |
PerExtraPage | The added cost per page above the minimum page count. Applies to variable page count products only. | decimal number | - |