Code | AMOUNT-CAP |
---|---|
Description | This bundle has the capacity of discounting invoice detail lines or subscription fee lines (that apply to the bundle). The discounting does not happen until the limit defined in VALUE1 is reached. |
Business scenario | See examples |
Applies to | No limitations |
Core info | Available from version 1.3 of the Rator-bundles project. |
...
Main strategy | Key | Description |
---|---|---|
Discounting | DISCOUNT_STRATEGY | Defines how a discount should be processed |
All strategy types are defined using the bundle parameters as used by many other bundle types (i.e. DISCOUNT_STRATEGY=CREATE_NEGATED_LINE). The current implementations of the main strategies are:
Main strategy | Strategy name | Code Name | Default | Description |
---|---|---|---|---|
Discounting | Zero rate discount line | DECREASE_AMOUNT | 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 | CREATE_NEGATED_LINE |
| Discounts by creating a copy of the discounted detail line with an opposite sign and adding it to the rating result. |
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". |
Parameters
The parameters available for the Amount Cap Bundle are described in the Strategies section.
...