...
The bundle starts by forwarding the rating in order to get invoice detail lines or subscription fee lines (mentioned as "detail lines" from here on) returned. Afterwards, it processes the result of the actual rating. Value2 is incremented, until it reaches Value1. The value processed is the total monetary amount of the detail lines returned by the rating, with respect to the configured invoice detail line value strategy.
...
Main strategy | Strategy name | Name | Default | Description |
---|---|---|---|---|
Discounting | Zero rate discount line | DecreaseDiscountLineValueStrategy | Yes | Discounts the detail line by decreasing the total value of the detail line. If the entire detail line is outside the bundle the detail line will be zero rated. |
Discounting | Create negated discount lines | CreateNegatedDiscountLineStrategy |
| Discounts by creating a copy of the discounted detail line with an opposite sign and adding it to the rating result. Two optional arguments are provided: serviceCode and priceCode. |
Discounting | Create customized negated discount line | WorkflowEnabledNegateDiscountLineStrategy | Discounts by creating a customized detail line, where amount to be discounted is set. The customized detail line is returned from workflow invoked by the hookpoint having static key "BUNDLE.STRATEGY.DISCOUNT.NEGATE". | |
Value of detail lines | Total for billing group | CalculateDetailLinesValueForBillingGroup | Yes | The value of detail lines are calculated as a sum of total excl VAT and total VAT for the billing group in billing context (might be different for "normal" billing group if detail lines have been created for other billing group). |
Value of detail lines | Total as percentage | CalculateDetailLinesValueByPercentage | The value of detail lines are calculated as a sum of total excl VAT and total VAT, regardless of billing group. The returned value is the configured percentage of the value of detail lines. |
...