Project:
|
![]() Figure C.16 - Customer Billing Statistic, Part 2 : Class diagram
The CustomerBillingStatisticSpec is used to describe the statistic that needs to be collected. The UsageCharacteristicSumSpec describes the collection of usage characteristic statistic (for example, the total sum of the duration of voice calls in a month). Policy rules can be used to define, which statistic data are of the billing process interest, when they should be created and expired, how they should be calculated, and what actions should be triggered when statistic data meet certain conditions.<br/>CustomerBillingStatistic entity instances are typically created and updated during rating and billing process. Since a quantity represented by CustomerBillingStatistic changes over time corresponding Balance entities are used to track its history as shown in the figure below.<br/>For example, for a certain product a billing system may track total number of kilobytes transferred over GPRS connection per quarter. The total sum is recorded by a billing system and stored in an instance of UsageCharacteristicSum entity. When a certain volume is exceeded a DiscountProductPriceAlteration instance may be generated entitling customer to a certain discount.<br/>
|