Adding Parameters

You can add a list of pre-defined parameters to pricing items, such as catalog items, bundles, offers, and price components.

You use parameter definitions to specify the name and data type of a parameter. After creating a definition for a parameter, you can add it to a pricing item. You must specify a default value for the parameter when you add it to a pricing item. You can use parameters assigned to price components in price component rate tables to set rating formula parts, such as the scale coefficient (slope), constant (intercept), and unit factor (multiplier).

After adding a list of parameters to a (parent) pricing item, you can bind parameters in the list to parameters in any associated (child) pricing items. You can bind:
  • Catalog item parameters — To parameters in the associated offer or bundle
  • Bundle parameters — To parameters in the associated offer or price component
  • Offer parameters — To parameters in associated price components

When you add a parameter to a price component, offer, or bundle, the Charging Server creates a default parameter binding to a parameter with the same name in the parent pricing item automatically, and adds the parameter to the list of parameters assigned to the parent. You can edit the default parameter binding to select a different parameter, if required. Otherwise, the default value for the default parameter binding is used during rating.

You can set parameter values within a catalog definition or at purchase time. This feature allows you to customize price components, offers, bundles, and catalog items without requiring you to create and upload new pricing.
Note: When using the SubMan APIs, if you do not specify a parameter value in the PurchaseOffer request, the default value of the parameter is used for the purchased catalog item.

You can modify parameter values for a purchased catalog item any time after a purchase by making a ModifyOffer request. The ModifyOffer API uses the input ParameterArray field to replace the parameter array stored for the purchased catalog item. If the catalog item is purchased with no parameter value, call the ModifyOffer API with an array of parameter values to use the new value. If the catalog item is purchased with parameter values, call the ModifyOffer API with an empty parameter array to use the default value.

The SubMan calls to get the list of catalog items and to get a single catalog item include any default parameter bindings.