...
getSurplus
- returns amount of units that can be used by another other bundles,updateSurplus
- updates the surplus with a the given value, and returns the part that is above the maximum surplus value - (which is defined onVALUE_3
),save
- saves the object.
A subscription_bundle
that is used by rollover bundles, utilizes all four value parameters:
VALUE_1
- number of units inside bundle,VALUE_2
- number of units used inside the bundle's own period,VALUE_3
- maximum number of units, that can be rolled overVALUE_4
- number of used rollover units (units used outside the bundle's own period).
Subscription Bundle Update Manager
...
In order to configure DataBundle
, DurationBundle
, EventBundle
or ForwardBundle
to use rollover functionality the following parameters must be set up in the bundle's parameters and meta data:
Name | Description |
---|---|
ROLLOVER.PERIOD.ORDER | Defines whether older or newer surplus should be used first. Two possible values are possible: NEWER_FIRST and OLDER_FIRST |
ROLLOVER.USAGE.MODE | Indicates whether surplus should be used before or after the |
ROLLOVER.PERIODS | Amount of previous |
UPDATE_MANAGER | DEFAULT for the standard functionality without rollover. This is the standard implementation used if this parameter is not set. ROLLOVER for enabling the rollover functionality enabled. Meta data properties are: UNLIMITED for a variation of the standard functionality, where zero fee units free units ( |