OSB_LIB::SubsChargeList Class Reference

Collaboration diagram for OSB_LIB::SubsChargeList:

Collaboration graph
[legend]
List of all members.

Detailed Description

SubsChargeList consists of a reference to SubsCharges generated by a Subscrition function. These are later merged with the SubsCharges of the BalanceSheet. Implementation to calculate the basis for subscription charge calculation is provided. This class is used by the Subscription functions which calculate the actual subscription charges.

Definition at line 97 of file subsfunc.h.

Public Member Functions

Private member accessors

Private Attributes


Constructor & Destructor Documentation

OSB_LIB::SubsChargeList::SubsChargeList ( const PersProduct::Oid ppId,
const ProductNode::Oid pNodeId,
const Date billedFrom,
const Date billedTo,
const Date chargedFrom,
const Date chargedTo 
) [inline]

Definition at line 99 of file subsfunc.h.


Member Function Documentation

const Date& OSB_LIB::SubsChargeList::billedFrom (  )  const [inline]

Definition at line 146 of file subsfunc.h.

References billedFrom_.

const Date& OSB_LIB::SubsChargeList::billedTo (  )  const [inline]

Definition at line 147 of file subsfunc.h.

References billedTo_.

const Date& OSB_LIB::SubsChargeList::chargedFrom (  )  const [inline]

Definition at line 148 of file subsfunc.h.

References chargedFrom_.

const Date& OSB_LIB::SubsChargeList::chargedTo (  )  const [inline]

Definition at line 149 of file subsfunc.h.

References chargedTo_.

SubsCharge& OSB_LIB::SubsChargeList::newSubsCharge ( const SubsFuncCfg cfg,
const SubsChargeDef scd,
const bool  flag = true 
)

Adds a new SubsCharge into SubsCharge list.

Calls setBaseSubsCharge with function arguments. The flag indicates if the setBaseSubsCharge function needs to be called in the newSubsCharge. The setBaseSubsCharge is called by default. Returns a reference to the SubsCharge just added.

Parameters:
cfg Subscription function configuration.
scd Subscription charge definition.
flag Flag to call setBaseSubsCharge.

void OSB_LIB::SubsChargeList::setBaseSubsCharge ( SubsCharge sc,
const SubsFuncCfg cfg,
const SubsChargeDef scd 
)

Populates SubsCharge members which form the basis for calculation of the actual subscription charge. The data is taken from the SubsFuncCfg and SubsChargeDef.

Parameters:
sc Buffer for subscription charge.
cfg Subscription function configuration.
scd Subscription charge definition.

SubsCharges& OSB_LIB::SubsChargeList::subsCharges (  )  [inline]

Return list of subscription charges.

Definition at line 153 of file subsfunc.h.

References subsCharges_.


Member Data Documentation

const Date& OSB_LIB::SubsChargeList::billedFrom_ [private]

Billed from date.

Definition at line 159 of file subsfunc.h.

Referenced by billedFrom().

const Date& OSB_LIB::SubsChargeList::billedTo_ [private]

Billed to date.

Definition at line 160 of file subsfunc.h.

Referenced by billedTo().

const Date& OSB_LIB::SubsChargeList::chargedFrom_ [private]

Period charged from.

Definition at line 162 of file subsfunc.h.

Referenced by chargedFrom().

const Date& OSB_LIB::SubsChargeList::chargedTo_ [private]

Period charged To.

Definition at line 163 of file subsfunc.h.

Referenced by chargedTo().

const PersProduct::Oid& OSB_LIB::SubsChargeList::persProductId_ [private]

charged pers product.

Definition at line 156 of file subsfunc.h.

const ProductNode::Oid& OSB_LIB::SubsChargeList::productNodeId_ [private]

charged product part.

Definition at line 157 of file subsfunc.h.

SubsCharges OSB_LIB::SubsChargeList::subsCharges_ [private]

list of generated subscription charges

Definition at line 165 of file subsfunc.h.

Referenced by subsCharges().


The documentation for this class was generated from the following file:
Generated on Sat Sep 2 14:10:22 2006 for OSB Library by  doxygen 1.4.7