Create a Usage Discount
Usage discounts can be applied to one or more usage charges during rating.
Before you begin
Create the decision tables the rate tables will use.
About this task
Procedure
- In Price Components, click the Discounts tab, and click New Discount Component.
-
In Create New Price Component:
- In Name, enter a unique name.
- (Optional) In Description, enter descriptive information about the item.
- (Optional) In External ID, enter any alphanumeric character to serve as a unique ID on this pricing object. The external ID can be used for any reason that is meaningful to your implementation of MATRIXX Engine. External IDs are saved to the pricing configuration file and loaded into the Pricing database.
- In Application, select usage.
- In Service Type, select the service type to which the price component applies.
- Click Create.
-
In Start Date/Time, use the date
picker to select the date on which the object becomes active in the pricing
database and is first available for use. Alternatively, enter the date in the
format YYYY-MM-DD. Optionally, enter a time for when the object becomes active.
The default is midnight. If applicable, the range in which the start date/time
must fall is listed. For example:
- Choose a date on or before 2021-12-01.
- Choose a date on or after 2020-01-27.
- Choose a date between 2000-01-02 and 2021-10-04.
Note: If you are creating a new revision of this object, the start date must be greater than the start date of the previous revision and less than the start date of the next revision. - Click Save.
-
In Quantity
Selector, choose the quantity type to which the usage pricing
applies.
- Actual Duration — Use the entire duration of a session, including any stops between, for example, when a streaming video is paused and resumed at a later time.
- Active Duration — Use the active duration of a session, excluding any stops between.
- Monetary — Use the amount of currency spent during usage.
- Total Data — Use the total quantity of data sent (out_data) and received (in_data) during usage. If the total_data field value is not set in the network message, the MATRIXX Engine sets it by adding together the in_data and out_data values.
- In Data — Use the total quantity of data received from the client during usage.
- Out Data — Use the total quantity of data sent to the client during usage.
- Service Specific — Use the custom usage quantity type specified.
- Create a new rate table. For details, see the discussion about creating a new rate table.
-
(Optional) To add a system attribute
to the price component:
-
(Optional) Add parameters to the list of price
component parameters on the Parameters tab.
Note: You can use price component parameters in rating formulas. When you add a parameter to a rating formula, it is also added to the parent price component.For more information about adding parameters to a price component, see the discussion about adding a parameter to a price component.
When you assign a price component that has parameters to an offer or a bundle, MATRIXX also creates a default parameter binding between each price component parameter and a parameter with the same name in the offer or bundle. Any parameters that are not already assigned to the offer or bundle, are added to the list of offer or bundle parameters without you having to add them manually.