OSB_LIB::MoneyInfo Struct Reference

Collaboration diagram for OSB_LIB::MoneyInfo:

Collaboration graph
[legend]
List of all members.

Detailed Description

Information of the actual amount calculated and the charge traits applied.

There may be more than one money info for each charge details. Each rating function will come out with one money info for every charge details calculated. Thus, if more than one rating function is applicable to a charge details, there will be more than one money info for it.

Tariff (version) will need to have the intelligent to determine which money info should be the one that really charge the user.

Definition at line 194 of file cdr.h.

Public Member Functions

Public Attributes


Constructor & Destructor Documentation

OSB_LIB::MoneyInfo::MoneyInfo ( const Money money,
const ChargeTraits::Oid chargeTraitsId 
) [inline]

Constructor for the MoneyInfo.

Parameters:
money Reference to money object.
chargeTraitsId Reference to chargeTraitsId.
This constructor is necessary since Money itself does not have a default constructor.

Definition at line 204 of file cdr.h.


Member Data Documentation

ChargeTraits::Oid OSB_LIB::MoneyInfo::chargeTraitsId_

Charge traits identifier associated with the charge.

Definition at line 213 of file cdr.h.

Money OSB_LIB::MoneyInfo::money_

The calculated cost for a data volume.

Definition at line 210 of file cdr.h.


The documentation for this struct was generated from the following file:
Generated on Sat Sep 2 14:13:53 2006 for OSB Library by  doxygen 1.4.7