linked-usdl / usdl-price

3 stars 1 forks source link

Friendly way to show price formulas to the customer? #10

Closed jorgearj closed 11 years ago

jorgearj commented 11 years ago

How can we present the price formulas to the customer in a suitable way? Should we introduce some examples that can be defined by the providers? Or simply explain the price formula in the Description?

drleidig commented 11 years ago

The price formula could be given in plain text by the business people. It would be translated into a formula by an engineer.

Other options:

jorgearj commented 11 years ago

The plain text formula can be specified in a new attribute. We could also impose that if a Spin:function exists a for price calculation it should have a textual description. However, the opposite may not be true. A textual description may not have a Spin:Funtion.

jorgearj commented 11 years ago

A new property hasTextFunction has been added to the model. This new property has the textual description of the price function that can then be implemented with a spin:function or not.

This way the business man can specify how the price is calculated (in natural language) and then a proper function can be implemented based on this description.