|
Note: You can use these components in a price plan or in a refill plan (refill logic) but not in a charging plan. |
The Macro Function component allows you to
use an existing pricing macro to calculate a final amount. Because a pricing
macro cannot be inserted in a decision tree, you must use a Macro Function:
To select a pricing macro
To provide values to the pricing macro
The Macro Function uses the properties of the plan to provide the values to the pricing macro.
You use the Macro Function to integrate an existing pricing macro at the end of a decision tree branch. The amount calculated in the pricing macro is the final amount of the branch.
In a chargeable item package called “Communication”, you charge the customer according to the type of communication. The pricing rule is described in a unique Pricing Macro that completely calculates the final price. You can use the Macro Function component to integrate this Pricing Macro into each price plan that relates to the “Communication” chargeable item package.
Name: Type the name of the component (mandatory).
Description: Allows you to type the description of the component (optional).
Pricing Macro: Provides the list of available pricing macros. Select a pricing macro.
Mapping of Rating Context: Displays the rating context properties of the pricing macro and allows you to assign a property of the plan to each rating context property. The pricing macro runs with the values of the plan properties.
Name: Displays the name of the rating context property.
Description: Displays the description of the rating context property.
Mapping Property: Provides the list of plan properties. Select the property that initializes the rating context property of the pricing macro.