OSB_LIB::SubsCharge Struct Reference

Collaboration diagram for OSB_LIB::SubsCharge:

Collaboration graph
[legend]
List of all members.

Detailed Description

Structure for subscription charges.

SubsCharge holds subscription charges computed by the billing engine. For each status, OSB allows to charge subscription fees for the time period a status was valid for a personalized product and personalized product item. Start and end date of the billing period are taken from the balance sheet of the contract.

Definition at line 95 of file balancesheet.h.

Public Types

Public Member Functions

Public Attributes

Basis for charge calculation
The actual charges

Member Typedef Documentation

typedef std::pair<Date, Date> OSB_LIB::SubsCharge::Period

Time period type.

Definition at line 104 of file balancesheet.h.


Constructor & Destructor Documentation

OSB_LIB::SubsCharge::SubsCharge ( const PersProduct::Oid persId,
const ProductNode::Oid nodeId 
) [inline]

Constructor.

Definition at line 97 of file balancesheet.h.


Member Data Documentation

Decimal OSB_LIB::SubsCharge::baseCharge

Amount per period.

Definition at line 114 of file balancesheet.h.

Decimal OSB_LIB::SubsCharge::baseFractions

Number/fractions charged of the basis.

Definition at line 132 of file balancesheet.h.

Decimal OSB_LIB::SubsCharge::charge

Amount of the charge.

Definition at line 126 of file balancesheet.h.

ChargeTraits::Oid OSB_LIB::SubsCharge::ctId

Traits of the charge.

Definition at line 128 of file balancesheet.h.

long OSB_LIB::SubsCharge::daysCharged

Number of charged days (if available, else -1).

Definition at line 134 of file balancesheet.h.

long OSB_LIB::SubsCharge::numDays

Period expressed in days (if available, else -1).

Definition at line 120 of file balancesheet.h.

size_t OSB_LIB::SubsCharge::periodLength

Number of period units.

Definition at line 116 of file balancesheet.h.

std::vector<Period> OSB_LIB::SubsCharge::periods

Charged periods.

Definition at line 136 of file balancesheet.h.

PersProduct::Oid OSB_LIB::SubsCharge::persProductId

Charged personalised product.

Definition at line 107 of file balancesheet.h.

ProductNode::Oid OSB_LIB::SubsCharge::productNodeId

Charged product node.

Definition at line 109 of file balancesheet.h.

Status OSB_LIB::SubsCharge::status

Charged status.

Definition at line 130 of file balancesheet.h.

Unit::Oid OSB_LIB::SubsCharge::unitId

Definition at line 118 of file balancesheet.h.


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