Amounts Aggregator Splitter

Note: You can use the Splitter components in a price plan, in a pricing macro, or in a refill plan (refill logic) but not in a charging plan.

The Amounts Aggregator Splitter component creates two or more branches in the decision tree to calculate amounts and performs one of the following operations:

In each branch of the Amounts Aggregator Splitter, you can insert components to calculate an amount.

The Amounts Aggregator Splitter component allows you to describe independent rules in each branch. You can compare or combine the calculated amounts in the different branches to provide one single amount. The final amount depends on the type of the operation:

With

The final amount is

sum

The sum of all the amounts calculated in each branch

minimum

The minimum of all the amounts calculated in each branch

maximum

The maximum of all the amounts calculated in each branch

mean

The average of all the amounts calculated in each branch

Use

In a price plan, if you want to bill a chargeable item package according to two distinct criteria and charge the customer the lower price, do the following:

Example

You sell educational documents on the web. The customer is charged an opening fee according to the size and the category of documents. To attract new customers, you decide to charge only the size or the category which represents the lowest fee.

You perform this operation by inserting the Amounts Aggregator Splitter component at the suitable level of your price plan. You set up the component by choosing "minimum" as the operation and "2" as the number of operations. The component will calculate:

After calculation, the customer is charged the lowest price.

Identification area

Name: Type the name of the component (mandatory).

Description: Allows you to type the description of the component (optional).

Definition tab

Operation: Provides the list of operations to apply to the tree branches of the Amounts Aggregator Splitter. Sum is the default value. Select one of the following operations:

Number of Amounts: Provides the list of the number of branches that you want to compare or aggregate. The number 2 is the default value. Select a number ranging from 2 to 20.