Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Main strategy

Strategy name

Name

Default

Description

Discounting

Zero rate discount line

DecreaseDiscountLineValueStrategy
or
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

CreateNegatedDiscountLineStrategy
or
CREATE_NEGATED_LINE

 

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.
If any argument is not present, the charge item for the discount line is the same as discounted detail line.
If both arguments are present, the charge item for the discount line is looked up in the number plan identified by serviceCode and plan element identified by priceCode. The rate plan used for number plan identification is given by the billing context.

DiscountingCreate customized negated discount lineWorkflowEnabledNegateDiscountLineStrategy 

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 linesTotal for billing groupCalculateDetailLinesValueForBillingGroupYesThe 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 linesTotal as percentageCalculateDetailLinesValueByPercentage 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.

...