Versions Compared

Key

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

...

  • It should be possible to configure the maximum amount of free units from one period to another.
  • Defining amount of period valid for rollover. Or in other words, define how many times a period can be rolled over.
  • How the surplus should be used first - from older or from newer periods first.
  • Should surplus be used before or after the current bundle.
  • Proper handling of late usage. Using surplus from the bundle should not prevent using it for rating.

...

The existing SubscriptionBundle_, has has been extended with methods defined by RolloverSurplus interface. These are:

...

Updating SubscriptionBundle

Standard update

The When a SubscriptionBundle object is used in the normal way, the used units are accumulated on VALUE_2. When VALUE_2 is greater than VALUE_1 - VALUE_3, then VALUE_4 gets a new value calculated in the following way VALUE_2 - (VALUE_1 - VALUE_3). If VALUE_4 is greater than VALUE_3 then VALUE_3 is set.

...

Name

Description

SURPLUS.PERIOD.ORDER

Defines, how SubscriptionBundles should be order, when the surplus is updatedwhether older or newer surplus should be used first. Two possible values are possible: NEWER_FIRST and OLDER_FIRST

SURPLUS.USAGE.MODE

Indicates, whether surplus should be used before or after the SubscriptionBundles. Again two values are possible: USE_SURPLUS_BEFORE_BUNDLE, USE_SURPLUS_AFTER_BUNDLE

SURPLUS.ROLLOVER.PERIODS

Amount of previous SubscriptionBundles used in rollover. In other words, the number defines how many times surplus can be rolled over