The Macro Introducer component allows you to use an existing pricing macro in a plan. This component allows you:
To select a pricing macro
To provide the values to the rating context properties that the pricing macro needs to make calculations
To retrieve the calculation results from the generated properties of the pricing macro
The Macro Operator uses the price plan properties:
To provide the values to the pricing macro
To retrieve the calculation results from the pricing macro
An operator bills telephone calls according to:
The duration of calls
The location of called numbers
The type of telephone such a fixed line or a mobile
A pricing macro called "MacroTel" computes the cost of calls that is based on:
The prefix of the called number ("Prefix_Called")
The type of telephone ("Phone_Type")
The duration of the call ("Call_Duration")
The Macro Operator provides this information to the pricing macro through price plan properties. To calculate the price of each call, the pricing macro needs the price code provided by a translation table. The pricing macro returns the total amount of calls and the price code, both of which are retrieved by the Macro Operator through price plan properties. In the price plan, the Macro Operator component shows the following information:
The Pricing Macro "MacroTel"
The Price Plan properties ("Prefix_Called", "Phone_Type" and "Call_Duration") that contain the values to initialize the rating context properties of the pricing macro
The price plan property "Total_Amount" that retrieves the computed amount of the Pricing Macro
The price plan property "Code_Price" that retrieves the price code of the generated property of the pricing macro
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 the plan properties. Select the property that initializes the rating context property of the pricing macro.
Mapping of Generated Properties: Displays the generated properties of the pricing macro, and allows you to assign a new property to each generated property that retrieves the calculation results from the pricing macro.
Computed Amount Property Name: Allows you to type the name of the new property that retrieves the computed amount of the Pricing Macro.
Name: Displays the name of the generated property.
Description: Displays the description of the generated property.
Generated Property Name: Allows you to type the name of the new property that retrieves the value of the generated property of the pricing macro. The default property is the generated property that is displayed in the Name column. Double-click the entry to modify it. You can use this new property in the plan.